Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/firebird.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-85828-57552/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/firebird.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (8 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/firebird-4.0.3.2975-3.oc9.src.rpm RPM build warnings: %patchN is deprecated (8 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps --nocheck /builddir/build/SPECS/firebird.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-85828-57552/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps --nocheck /builddir/build/SPECS/firebird.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (8 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fciwh4 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Firebird-4.0.3.2975-0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/Firebird-4.0.3.2975-0.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd Firebird-4.0.3.2975-0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #101 (add-pkgconfig-files.patch): + echo '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 Hunk #1 succeeded at 1378 (offset 71 lines). + echo 'Patch #203 (no-copy-from-icu.patch):' Patch #203 (no-copy-from-icu.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/isql/isql.epp patching file builds/posix/Makefile.in Hunk #1 succeeded at 550 (offset 7 lines). + echo 'Patch #205 (cloop-honour-build-flags.patch):' Patch #205 (cloop-honour-build-flags.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file extern/cloop/Makefile Patch #301 (c++17.patch): + echo 'Patch #301 (c++17.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file CMakeLists.txt patching file builds/posix/make.defaults Hunk #1 succeeded at 104 (offset 1 line). patching file builds/posix/prefix.freebsd_amd64 patching file configure.ac Hunk #1 succeeded at 939 (offset 40 lines). patching file examples/extauth/Makefile patching file examples/interfaces/makefile patching file extern/icu/android/aarch64/config.sh patching file extern/icu/android/armv7a/config.sh patching file extern/icu/android/linux/config.sh Patch #302 (noexcept.patch): + echo 'Patch #302 (noexcept.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/common/classes/alloc.cpp patching file src/common/classes/alloc.h Patch #303 (autoconf.patch): + echo 'Patch #303 (autoconf.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file configure.ac Hunk #1 succeeded at 661 (offset -35 lines). Patch #401 (btyacc-honour-build-flags.patch): + echo 'Patch #401 (btyacc-honour-build-flags.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file extern/btyacc/Makefile Patch #402 (firebird-configure-c99.patch): + echo 'Patch #402 (firebird-configure-c99.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file configure.ac Hunk #1 succeeded at 1056 (offset 18 lines). Hunk #2 succeeded at 1097 (offset 18 lines). Hunk #3 succeeded at 1144 (offset 18 lines). Hunk #4 succeeded at 1155 (offset 18 lines). + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0yJWww + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd Firebird-4.0.3.2975-0 + export 'CFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing' + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing' + export 'CXXFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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:586: warning: The macro `AC_LANG_C' is obsolete. configure.ac:586: 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:586: the top level configure.ac:586: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:586: 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:586: the top level configure.ac:764: warning: The macro `AC_PROG_CC_STDC' is obsolete. configure.ac:764: You should run autoupdate. ./lib/autoconf/c.m4:1666: AC_PROG_CC_STDC is expanded from... configure.ac:764: the top level configure.ac:775: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:775: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:775: the top level configure.ac:790: warning: The macro `AC_HEADER_TIME' is obsolete. configure.ac:790: You should run autoupdate. ./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from... configure.ac:790: 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: 'builds/make.new/config/install-sh' is updated autoreconf: Leaving directory '.' Autogen skipping configure process. + '[' 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/OpenCloudOS/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/OpenCloudOS/config.guess ./builds/make.new/config/config.guess '/usr/lib/rpm/OpenCloudOS/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/OpenCloudOS/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/OpenCloudOS/config.sub ./builds/make.new/config/config.sub '/usr/lib/rpm/OpenCloudOS/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/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./extern/editline/config.guess ++ basename ./extern/editline/config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./extern/editline/config.guess '/usr/lib/rpm/OpenCloudOS/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/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./extern/editline/config.sub ++ basename ./extern/editline/config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./extern/editline/config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './extern/editline/config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ 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/OpenCloudOS/OpenCloudOS-hardened-ld"~' ./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/OpenCloudOS/OpenCloudOS-hardened-ld"~' ./extern/editline/ltmain.sh + ./configure --build=aarch64-opencloudos-linux-gnu --host=aarch64-opencloudos-linux-gnu --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 --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 checking whether make sets $(MAKE)... yes checking build system type... aarch64-opencloudos-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-opencloudos-linux-gnu checking for aarch64-opencloudos-linux-gnu-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 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-opencloudos-linux-gnu file names to aarch64-opencloudos-linux-gnu format... func_convert_file_noop checking how to convert aarch64-opencloudos-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-opencloudos-linux-gnu-file... no checking for file... file checking for aarch64-opencloudos-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for aarch64-opencloudos-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for aarch64-opencloudos-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for aarch64-opencloudos-linux-gnu-strip... no checking for strip... strip checking for aarch64-opencloudos-linux-gnu-ranlib... no checking for 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-opencloudos-linux-gnu-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... no 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... yes 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... no 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... yes 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_np... no checking for pthread_mutex_consistent_np... no checking for pthread_rwlockattr_setkind_np... yes 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/databases.conf config.status: creating gen/Debug/firebird/fbtrace.conf config.status: creating gen/Debug/firebird/intl/fbintl.conf config.status: creating gen/Debug/firebird/plugins.conf config.status: creating gen/Debug/firebird/replication.conf config.status: creating gen/Release/firebird/firebird.conf config.status: creating gen/Release/firebird/databases.conf config.status: creating gen/Release/firebird/fbtrace.conf config.status: creating gen/Release/firebird/intl/fbintl.conf config.status: creating gen/Release/firebird/plugins.conf config.status: creating gen/Release/firebird/replication.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/Release/firebird/bin/linuxLibrary.sh config.status: creating gen/install/misc/firebird.service 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 Firebird4 package has been configured with the following options: Raw devices : enabled Service name : gds_db Service port : 3050 GPRE modules : c_cxx.cpp Install Dir : /usr configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j8 make -C gen firebird make[1]: Entering directory '/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen' make TARGET=Release master_process make[2]: Entering directory '/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen' ln -sf /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen/autoconfig.auto /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen/autoconfig.h make updateBuildNum make[3]: Entering directory '/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen' make[3]: Nothing to be done for 'updateBuildNum'. make[3]: Leaving directory '/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen' make export_lists make[3]: Entering directory '/builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/gen' make external make[3]: Entering directory '/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen' make -C /builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/btyacc make[4]: Entering directory '/builddir/build/BUILD/Firebird-4.0.3.2975-0/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,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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-4.0.3.2975-0/extern/btyacc' make -C /builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/cloop TARGET=release WITH_FPC=0 BUILD_DIR=/builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/cloop OUT_DIR=/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/cloop make[4]: Entering directory '/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/cloop' g++ -c -ggdb -fPIC -MMD -MP -W -Wall -Wno-unused-parameter -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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-4.0.3.2975-0/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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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-4.0.3.2975-0/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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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-4.0.3.2975-0/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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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-4.0.3.2975-0/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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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-4.0.3.2975-0/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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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-4.0.3.2975-0/temp/Release/cloop/release/cloop/Main.o gcc -c -ggdb -fPIC -MMD -MP -W -Wall -Wno-unused-parameter -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing src/tests/test1/CTest.c -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/cloop/release/tests/test1/CTest.o src/cloop/Main.cpp: In function 'void run(int, const char**)': src/cloop/Main.cpp:56:9: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 56 | auto_ptr generator; | ^~~~~~~~ In file included from /usr/include/c++/12/memory:75, from src/cloop/Main.cpp:27: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ g++ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/cloop/release/cloop/Action.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/cloop/release/cloop/Expr.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/cloop/release/cloop/Generator.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/cloop/release/cloop/Lexer.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/cloop/release/cloop/Parser.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/cloop/release/cloop/Main.o -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/cloop/release/bin/cloop /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/cloop/release/bin/cloop src/tests/test1/Interface.idl c-header src/tests/test1/CalcCApi.h CALC_C_API_H CALC_I /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/cloop/release/bin/cloop src/tests/test1/Interface.idl c++ src/tests/test1/CalcCppApi.h CALC_CPP_API_H calc I /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/cloop/release/bin/cloop src/tests/test1/Interface.idl pascal src/tests/test1/CalcPascalApi.pas CalcPascalApi \ --uses "SysUtils" \ --interfaceFile src/tests/test1/CalcPascalApi.interface.pas \ --implementationFile src/tests/test1/CalcPascalApi.implementation.pas \ --exceptionClass CalcException /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/cloop/release/bin/cloop src/tests/test1/Interface.idl c-impl src/tests/test1/CalcCApi.c CalcCApi.h CALC_I g++ -c -ggdb -fPIC -MMD -MP -W -Wall -Wno-unused-parameter -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -std=c++11 -O3 src/tests/test1/CppTest.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/cloop/release/tests/test1/CppTest.o gcc -c -ggdb -fPIC -MMD -MP -W -Wall -Wno-unused-parameter -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing src/tests/test1/CalcCApi.c -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/cloop/release/tests/test1/CalcCApi.o g++ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/cloop/release/tests/test1/CalcCApi.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/cloop/release/tests/test1/CTest.o -shared -ldl -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/cloop/release/bin/test1-c.so g++ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/cloop/release/tests/test1/CalcCApi.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/cloop/release/tests/test1/CTest.o -ldl -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/cloop/release/bin/test1-c g++ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/cloop/release/tests/test1/CppTest.o -shared -ldl -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/cloop/release/bin/test1-cpp.so g++ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/cloop/release/tests/test1/CppTest.o -ldl -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/cloop/release/bin/test1-cpp make[4]: Leaving directory '/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/cloop' make -C /builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/decNumber make[4]: Entering directory '/builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/extern/decNumber' ln -sf /builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/decNumber/libdecFloat.a /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib CXXFLAGS="-O3 -g -fPIC" make -C /builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 make[4]: Entering directory '/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2' g++ -c -o obj/util/rune.o -std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. -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. -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. -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. -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. -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. -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. -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. -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. -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. -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. -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. -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. -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. -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. -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. -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. -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. -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. -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. -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. -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. -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. -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. -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. -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. -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. -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. -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. -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. -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. -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. -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. -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. -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. -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. -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. -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. -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. -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. -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. -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. -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. -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. -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 r - obj/util/rune.o r - obj/util/strutil.o r - obj/re2/bitstate.o r - obj/re2/compile.o r - obj/re2/dfa.o r - obj/re2/filtered_re2.o r - obj/re2/mimics_pcre.o r - obj/re2/nfa.o r - obj/re2/onepass.o r - obj/re2/parse.o r - obj/re2/perl_groups.o r - obj/re2/prefilter.o r - obj/re2/prefilter_tree.o r - obj/re2/prog.o r - obj/re2/re2.o r - obj/re2/regexp.o r - obj/re2/set.o r - obj/re2/simplify.o r - obj/re2/stringpiece.o r - obj/re2/tostring.o r - obj/re2/unicode_casefold.o r - obj/re2/unicode_groups.o g++ -shared -Wl,-soname,libre2.so.0,--version-script,libre2.symbols -pthread -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o obj/so/libre2.so.0 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.0 obj/so/libre2.so make[4]: Leaving directory '/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2' ln -sf /builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2/obj/libre2.a /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib make[3]: Leaving directory '/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen' make updateCloopInterfaces make[3]: Entering directory '/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen' /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/cloop/release/bin/cloop /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/firebird/FirebirdInterface.idl c++ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/firebird/IdlFbInterfaces.h IDL_FB_INTERFACES_H Firebird I gcc -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/def_awk /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/misc/def_awk.c gcc -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/isc_grep /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/misc/isc_grep.c cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/misc/pascal/fb_get_master_interface.pas /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/func.pas /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/def_awk >/builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/func.pas /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/def_awk >/builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/func.pas /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/isc_grep >/builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/func.pas /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/cloop/release/bin/cloop /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/firebird/FirebirdInterface.idl pascal /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen/Firebird.pas Firebird --uses SysUtils \ --interfaceFile /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/misc/pascal/Pascal.interface.pas \ --implementationFile /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/misc/pascal/Pascal.implementation.pas \ --exceptionClass FbException \ --functionsFile /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/func.pas \ --prefix I make[3]: Leaving directory '/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen' make boot make[3]: Entering directory '/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen' g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/c_cxx.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/c_cxx.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmd.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/cmd.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cme.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/cme.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/cmp.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/exp.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/gpre.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/gpre.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/hsh.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/hsh.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/int_cxx.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/int_cxx.o In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/utils_proto.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/gpre.h:69, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmd.cpp:32: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/utils_proto.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/gpre.h:69, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cme.cpp:33: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/utils_proto.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/gpre.h:69, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/c_cxx.cpp:37: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/utils_proto.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/gpre.h:69, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:34: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/utils_proto.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/gpre.h:69, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:34: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/gpre.h:1515: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/utils_proto.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/gpre.h:69, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/gpre.cpp:52: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/gpre.h:1515: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/gpre.h:1515: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/c_cxx.cpp: In function 'void gen_request(const gpre_req*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/gpre/c_cxx.cpp:2839:24: warning: enumeration value 'REQ_store' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/c_cxx.cpp:2839:24: warning: enumeration value 'REQ_store2' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/c_cxx.cpp:2839:24: warning: enumeration value 'REQ_insert' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/c_cxx.cpp:2839:24: warning: enumeration value 'REQ_cursor' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/c_cxx.cpp:2839:24: warning: enumeration value 'REQ_mass_update' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/c_cxx.cpp:2839:24: warning: enumeration value 'REQ_any' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/c_cxx.cpp:2839:24: warning: enumeration value 'REQ_procedure' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/c_cxx.cpp:2839:24: warning: enumeration value 'REQ_set_generator' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/c_cxx.cpp:2839:24: warning: enumeration value 'REQ_LASTREQUEST' not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/gpre.h:1515: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp: In function 'void CMP_compile_request(gpre_req*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/gpre/cmp.cpp:171:16: warning: enumeration value 'REQ_store' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:171:16: warning: enumeration value 'REQ_store2' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:171:16: warning: enumeration value 'REQ_insert' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:171:16: warning: enumeration value 'REQ_cursor' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:171:16: warning: enumeration value 'REQ_mass_update' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:171:16: warning: enumeration value 'REQ_any' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:171:16: warning: enumeration value 'REQ_set_generator' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:171:16: warning: enumeration value 'REQ_LASTREQUEST' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_alter_database' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_alter_domain' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_alter_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_alter_table' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_at_end' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_b_declare' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_basedon' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_blob_cancel' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_blob_close' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_blob_create' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_blob_for' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_blob_handle' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_blob_open' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_close' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_commit' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_commit_retain_context' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_create_database' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_create_domain' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_create_generator' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_create_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_create_shadow' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_create_table' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_create_view' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_cursor' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_database' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_declare_filter' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_declare_udf' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_disconnect' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_drop_database' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_drop_domain' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_drop_filter' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_drop_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_drop_shadow' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_drop_table' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_drop_udf' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_drop_view' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_dyn_close' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_dyn_cursor' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_dyn_describe' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_dyn_describe_input' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_dyn_execute' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_dyn_fetch' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_dyn_grant' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_dyn_immediate' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_dyn_insert' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_dyn_open' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_dyn_prepare' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_dyn_revoke' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_dyn_statement' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_endblob' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_e_declare' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_enderror' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_endfor' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_endmodify' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_endstore' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_endstore_special' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_event_init' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_event_wait' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_finish' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_function' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_for' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_get_segment' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_hctef' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_on_error' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_open' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_prepare' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_procedure' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_put_segment' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_ready' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_release' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_rfinish' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_rollback' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_rollback_retain_context' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_routine' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_segment' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_segment_length' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_s_end' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_s_fetch' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_s_start' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_start' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_statistics' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_variable' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_clear_handles' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_type_number' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_noop' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_get_slice' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_put_slice' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_sql_dialect' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:246:24: warning: enumeration value 'ACT_LASTACT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp: In function 'void cmp_for(gpre_req*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_any' not handled in switch [-Wswitch] 901 | switch (action->act_type) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_alter_database' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_alter_domain' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_alter_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_alter_table' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_at_end' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_b_declare' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_basedon' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_blob_cancel' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_blob_close' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_blob_create' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_blob_for' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_blob_handle' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_blob_open' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_close' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_commit' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_commit_retain_context' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_create_database' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_create_domain' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_create_generator' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_create_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_create_shadow' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_create_table' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_create_view' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_cursor' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_database' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_declare_filter' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_declare_udf' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_disconnect' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_drop_database' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_drop_domain' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_drop_filter' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_drop_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_drop_shadow' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_drop_table' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_drop_udf' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_drop_view' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_dyn_close' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_dyn_cursor' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_dyn_describe' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_dyn_describe_input' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_dyn_execute' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_dyn_fetch' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_dyn_grant' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_dyn_immediate' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_dyn_insert' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_dyn_open' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_dyn_prepare' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_dyn_revoke' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_dyn_statement' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_endblob' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_e_declare' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_enderror' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_endfor' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_endmodify' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_endstore' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_endstore_special' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_event_init' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_event_wait' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_fetch' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_finish' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_function' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_for' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_get_segment' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_hctef' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_insert' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_loop' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_on_error' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_open' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_prepare' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_procedure' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_put_segment' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_ready' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_release' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_rfinish' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_rollback' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_rollback_retain_context' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_routine' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_segment' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_segment_length' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_s_end' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_s_fetch' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_s_start' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_select' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_start' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_statistics' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_store' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_store2' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_variable' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_clear_handles' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_type_number' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_noop' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_get_slice' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_put_slice' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_sql_dialect' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:901:24: warning: enumeration value 'ACT_LASTACT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_any' not handled in switch [-Wswitch] 965 | switch (action->act_type) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_alter_database' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_alter_domain' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_alter_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_alter_table' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_at_end' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_b_declare' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_basedon' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_blob_cancel' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_blob_close' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_blob_create' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_blob_for' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_blob_handle' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_blob_open' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_close' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_commit' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_commit_retain_context' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_create_database' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_create_domain' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_create_generator' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_create_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_create_shadow' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_create_table' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_create_view' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_cursor' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_database' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_declare_filter' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_declare_udf' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_disconnect' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_drop_database' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_drop_domain' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_drop_filter' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_drop_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_drop_shadow' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_drop_table' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_drop_udf' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_drop_view' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_dyn_close' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_dyn_cursor' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_dyn_describe' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_dyn_describe_input' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_dyn_execute' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_dyn_fetch' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_dyn_grant' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_dyn_immediate' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_dyn_insert' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_dyn_open' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_dyn_prepare' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_dyn_revoke' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_dyn_statement' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_endblob' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_e_declare' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_enderror' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_endfor' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_endstore' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_endstore_special' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_event_init' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_event_wait' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_fetch' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_finish' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_function' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_for' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_get_segment' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_hctef' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_insert' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_loop' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_modify' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_on_error' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_open' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_prepare' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_procedure' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_put_segment' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_ready' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_release' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_rfinish' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_rollback' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_rollback_retain_context' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_routine' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_segment' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_segment_length' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_s_end' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_s_fetch' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_s_start' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_select' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_start' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_statistics' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_store' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_store2' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_variable' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_clear_handles' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_type_number' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_noop' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_get_slice' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_put_slice' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_sql_dialect' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:965:32: warning: enumeration value 'ACT_LASTACT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp: In function 'void cmp_sdl_fudge(gpre_req*, SLONG)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:1392:16: warning: enumeration value 'lang_undef' not handled in switch [-Wswitch] 1392 | switch (gpreGlob.sw_language) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:1392:16: warning: enumeration value 'lang_pascal' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:1392:16: warning: enumeration value 'lang_cobol' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:1392:16: warning: enumeration value 'lang_ada' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:1392:16: warning: enumeration value 'lang_scxx' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:1392:16: warning: enumeration value 'lang_cplusplus' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:1392:16: warning: enumeration value 'lang_cpp' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:1392:16: warning: enumeration value 'lang_internal_cxx' not handled in switch [-Wswitch] In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/utils_proto.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/gpre.h:69, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/hsh.cpp:31: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp: In function 'gpre_port* make_port(gpre_req*, ref*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/cmp.cpp:1760:34: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1760 | while (reference = alignments[i]) | ~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/gpre.h:1515: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp: In function 'gpre_nod* EXP_literal()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_start_actions' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_ACTIVE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_ANY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_AT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_BACK_SLASH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_BASED' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_BEGIN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_BUFFERS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_CACHE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_CANCEL_BLOB' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_CASE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_CHAR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_CLEAR_HANDLES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_CLOSE_BLOB' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_COLLATE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_COMMIT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_CONSTRAINT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_CREATE_BLOB' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_DATABASE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_DERIVED_FROM' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_DOMAIN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_DOUBLE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_ELEMENT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_ELSE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_END' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_END_ERROR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_END_FETCH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_END_FOR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_END_MODIFY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_END_STORE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_END_STORE_SPECIAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_END_STREAM' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_ERASE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_ESCAPE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_EVENT_INIT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_EVENT_WAIT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_EXEC' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_EXTERNAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_EXTRACT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_FETCH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_FINISH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_FLOAT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_FOR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_FUNCTION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_GET_SEGMENT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_GET_SLICE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_INACTIVE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_INT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_KEY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_LONG' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_L_BRACE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_MODIFY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_MONTH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_NAMESPACE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_NATIONAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_NCHAR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_ON' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_ON_ERROR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_OPEN_BLOB' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_PREPARE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_PROC' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_PROCEDURE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_PUT_SEGMENT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_PUT_SLICE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_READY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_RELEASE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_RELEASE_REQUESTS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_RETURNING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_RETURNING_VALUES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_ROLE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_ROLLBACK' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_R_BRACE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_SAVE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_SHORT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_START_STREAM' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_START_TRANSACTION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_STATISTICS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_STORE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_SUB' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_SUBROUTINE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_end_actions' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_ABNORMAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_ACCEPTING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_ACTION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_ADD' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_ALL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_ALLOCATION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_ALTER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_AMPERSAND' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_AND' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_ANYCASE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_ARE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_AS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_ASCENDING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_ASTERISK' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_AUTO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_AUTOCOMMIT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_AVERAGE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_BASE_NAME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_BETWEEN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_BLOB' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_BUFFERCOUNT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_BUFFERSIZE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_BY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_CARAT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_CASCADE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_CAST' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_CHECK' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_CHECK_POINT_LEN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_CLOSE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_COLON' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_COMMA' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_COMMENT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_COMMITTED' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_COMPILETIME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_COMPUTED' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_CONCURRENCY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_CONDITIONAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_CONNECT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_CONSISTENCY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_CONTAINING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_CONTINUE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_COUNT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_CREATE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_CROSS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_CSTRING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_CURRENT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_CURRENT_DATE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_CURRENT_TIME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_CURRENT_TIMESTAMP' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_CURSOR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_DAY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_DBA' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_DBKEY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_DEC' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_DECIMAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_DECLARE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_DEFAULT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_DELETE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_DESCENDING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_DESCRIBE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_DESCRIPTOR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_DIALECT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_DISCONNECT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_DISTINCT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_DOT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_DOT_DOT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_DROP' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_END_EXEC' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_ENTRY_POINT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_EQ' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_EQUALS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_EQUIV' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_ERROR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_EVENT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_EXACTCASE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_EXCLUSIVE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_EXECUTE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_EXISTS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_EXTERN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_FILE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_FILENAME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_FILTER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_FIRST' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_FOREIGN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_FORWARD' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_FOUND' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_FROM' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_FULL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_GE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_GEN_ID' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_GENERATOR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_GLOBAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_GO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_GOTO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_GRANT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_GROUP' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_GROUP_COMMIT_WAIT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_GT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_HANDLES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_HAVING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_HOUR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_IMMEDIATE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_IN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_INC' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_INCLUDE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_INDEX' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_INDICATOR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_INIT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_INNER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_INPUT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_INPUT_TYPE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_INSERT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_INTEGER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_INTERNAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_INTO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_IS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_ISOLATION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_JOIN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_LC_CTYPE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_LC_MESSAGES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_LE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_LEFT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_LEFT_PAREN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_LENGTH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_LEVEL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_LIKE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_LOCK' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_LOG_BUF_SIZE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_LOG_FILE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_LT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_L_BRCKET' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_MAIN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_MANUAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_MATCHES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_MAX' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_MAX_SEGMENT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_MERGE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_MIN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_MINUTE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_MINUS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_MISSING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_MODULE_NAME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_NAME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_NAMES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_NATURAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_NE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_NO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_NOT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_NO_AUTO_UNDO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_NO_WAIT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_NULL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_NUMERIC' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_NUM_LOG_BUFS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_OF' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_ONLY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_OPAQUE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_OPEN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_OPTION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_OPTIONS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_OR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_OR1' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_ORDER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_OUTER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_OUTPUT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_OUTPUT_TYPE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_OVER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_OVERFLOW' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_OVERRIDING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_PAGE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_PAGES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_PAGESIZE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_PAGE_SIZE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_PARAMETER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_PASSWORD' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_PATHNAME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_PLAN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_PLUS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_POINTS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_PRECISION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_PRIMARY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_PRIVILEGES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_PROTECTED' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_PUBLIC' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_QUAD' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_RAW_PARTITIONS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_READ' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_READ_COMMITTED' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_READ_ONLY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_READ_WRITE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_REAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_REDUCED' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_REFERENCES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_REM' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_REQUEST_HANDLE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_RESERVING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_RESOURCE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_RESTRICT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_RETAIN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_RETURNS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_REVOKE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_RIGHT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_RIGHT_PAREN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_ROUTINE_PTR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_RUN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_RUNTIME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_R_BRCKET' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_SCALE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_SCHEDULE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_SCHEMA' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_SECOND' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_SECTION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_SEGMENT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_SELECT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_SEMI_COLON' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_SET' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_SHARED' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_SHADOW' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_SINGULAR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_SIZE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_SLASH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_SMALLINT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_SNAPSHOT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_SORT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_SORTED' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_SQL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_SQLERROR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_SQLWARNING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_STABILITY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_STARTING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_STARTING_WITH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_STARTS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_STATE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_STATEMENT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_STATIC' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_STOGROUP' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_STREAM' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_STRING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_SUB_TYPE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_SUM' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_SYNONYM' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_TABLE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_TABLESPACE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_TAG' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_TERMINATING_FIELD' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_TERMINATOR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_TITLE_LENGTH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_TITLE_TEXT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_TO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_TOTAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_TRANSACTION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_TRANSACTION_HANDLE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_TRANSPARENT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_TRIGGER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_UNCOMMITTED' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_UNION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_UNIQUE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_UPDATE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_UPPER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_UPPERCASE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_LOWER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_LOWERCASE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_USER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_USERS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_USER_NAME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_USING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_VALUE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_VALUES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_VAL_PARAM' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_VARCHAR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_VARIABLE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_VARYING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_VERSION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_VIEW' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_WAIT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_WAKING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_WARNING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_WEEKDAY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_WHENEVER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_WITH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_WORK' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_WRITE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_YEAR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_YEARDAY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_NULLIF' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_SKIP' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_CURRENT_CONNECTION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_CURRENT_ROLE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_CURRENT_TRANSACTION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_CURRENT_USER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_COALESCE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_WHEN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_THEN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_SUBSTRING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:351:16: warning: enumeration value 'KW_max' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp: In function 'gpre_nod* par_array(gpre_req*, gpre_fld*, bool, bool)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/gpre/exp.cpp:1130:32: warning: enumeration value 'lang_pascal' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:1130:32: warning: enumeration value 'lang_fortran' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:1130:32: warning: enumeration value 'lang_ada' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:1130:32: warning: enumeration value 'lang_scxx' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:1130:32: warning: enumeration value 'lang_cplusplus' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:1130:32: warning: enumeration value 'lang_cpp' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp:1130:32: warning: enumeration value 'lang_internal_cxx' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/exp.cpp: In function 'gpre_nod* par_over(gpre_ctx*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/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/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/utils_proto.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/gpre.h:69, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/int_cxx.cpp:34: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/gpre.h:1515: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/gpre.cpp: In function 'bool file_rename(TEXT*, const TEXT*, const TEXT*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/gpre.cpp:1400:38: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1400 | while (*terminator++ = *extension++) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/gpre/gpre.cpp:1424:30: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1424 | while (*terminator++ = *extension++) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/src/gpre/gpre.cpp: In function 'SLONG pass1(const TEXT*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/gpre/gpre.cpp: In function 'void pass2(SLONG)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/gpre.cpp:2487:16: warning: unused variable 'comment_start_len' [-Wunused-variable] 2487 | SSHORT comment_start_len = static_cast(strlen(comment_start)); | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/gpre.h:1515: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/hsh.cpp: In function 'int hash(const SCHAR*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/hsh.cpp:237:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 237 | while (c = *string++) | ~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/hsh.cpp: In function 'bool scompare2(const SCHAR*, const SCHAR*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/hsh.cpp:263:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 263 | while (c1 = *string1++) | ~~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/gpre.h:1515: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/jrdmet.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/jrdmet.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/movg.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/movg.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/msc.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/msc.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/obj_cxx.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/obj_cxx.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/par.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/par.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/pat.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/pat.o In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/jrdmet.cpp:32: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/sqe.o In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/utils_proto.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/gpre.h:69, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/msc.cpp:47: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/movg.cpp:31: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/gpre.h:1515, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/jrdmet.cpp:34: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/utils_proto.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/gpre.h:69, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/obj_cxx.cpp:37: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/utils_proto.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/gpre.h:69, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/par.cpp:49: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/sql.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/gpre.h:1515: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/gpre.h:1515: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/obj_cxx.cpp: In function 'void OBJ_CXX_action(const act*, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value 'ACT_at_end' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value 'ACT_b_declare' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value 'ACT_basedon' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value 'ACT_blob_cancel' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value 'ACT_blob_handle' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value 'ACT_cursor' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value 'ACT_database' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value 'ACT_dyn_statement' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value 'ACT_endblob' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value 'ACT_e_declare' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value 'ACT_enderror' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value 'ACT_endfor' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value 'ACT_endmodify' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value 'ACT_endstore' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value 'ACT_endstore_special' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value 'ACT_erase' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value 'ACT_event_init' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value 'ACT_event_wait' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value 'ACT_function' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value 'ACT_hctef' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value 'ACT_on_error' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value 'ACT_put_segment' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value 'ACT_routine' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value 'ACT_segment' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value 'ACT_segment_length' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value 'ACT_s_end' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value 'ACT_store2' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value 'ACT_variable' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value 'ACT_type_number' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value 'ACT_noop' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value 'ACT_sql_dialect' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/obj_cxx.cpp:185:16: warning: enumeration value 'ACT_LASTACT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/obj_cxx.cpp: In function 'void asgn_to(const act*, ref*, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/src/gpre/obj_cxx.cpp: In function 'void gen_blob_open(const act*, USHORT)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/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) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/utils_proto.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/gpre.h:69, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:44: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/utils_proto.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/gpre.h:69, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/pat.cpp:32: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/gpre.h:1515: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/boot/gpre_meta_boot.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/boot/gpre_meta_boot.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/gpre.h:1515: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/gds.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/gds.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp: In function 'gpre_nod* SQE_field(gpre_req*, bool)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/gpre/sqe.cpp: In function 'bool SQE_resolve(gpre_nod**, gpre_req*, gpre_rse*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/gpre/sqe.cpp: In function 'gpre_fld* get_ref(gpre_nod*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_literal' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_value' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_and' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_or' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_not' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_eq' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_equiv' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_ne' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_ge' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_le' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_gt' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_lt' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_containing' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_matches' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_any' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_unique' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_projection' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_sort' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_store' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_modify' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_erase' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_assignment' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_max' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_min' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_total' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_average' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_list' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_deferred' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_missing' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_between' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_union' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_starting' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_like' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_aggregate' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_from' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_null' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_asterisk' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_user_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_sleuth' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_event_init' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_udf' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_via' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_join_inner' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_join_left' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_join_right' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_join_full' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_join' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_cast' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_dom_value' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_ansi_any' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_gen_id' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_merge' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_plan_expr' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_plan_item' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_natural' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_index_order' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_ansi_all' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_current_date' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_current_time' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_current_timestamp' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_nullif' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_current_connection' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_current_role' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_current_transaction' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_coalesce' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_case' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_case1' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_substring' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:1418:16: warning: enumeration value 'nod_LASTNOD' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp: In function 'gpre_ctx* par_alias_list(gpre_req*, gpre_nod*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/gpre/sqe.cpp: In function 'gpre_nod* par_plan_item(gpre_req*, bool, USHORT*, bool*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_start_actions' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_ACTIVE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_ANY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_AT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_BACK_SLASH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_BASED' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_BEGIN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_BUFFERS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_CACHE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_CANCEL_BLOB' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_CASE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_CHAR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_CLEAR_HANDLES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_CLOSE_BLOB' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_COLLATE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_COMMIT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_CONSTRAINT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_CREATE_BLOB' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_DATABASE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_DERIVED_FROM' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_DOMAIN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_DOUBLE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_ELEMENT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_ELSE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_END' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_END_ERROR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_END_FETCH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_END_FOR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_END_MODIFY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_END_STORE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_END_STORE_SPECIAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_END_STREAM' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_ERASE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_ESCAPE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_EVENT_INIT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_EVENT_WAIT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_EXEC' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_EXTERNAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_EXTRACT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_FETCH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_FINISH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_FLOAT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_FOR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_FUNCTION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_GET_SEGMENT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_GET_SLICE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_INACTIVE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_INT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_KEY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_LONG' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_L_BRACE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_MODIFY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_MONTH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_NAMESPACE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_NATIONAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_NCHAR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_ON' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_ON_ERROR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_OPEN_BLOB' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_PREPARE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_PROC' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_PROCEDURE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_PUT_SEGMENT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_PUT_SLICE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_READY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_RELEASE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_RELEASE_REQUESTS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_RETURNING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_RETURNING_VALUES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_ROLE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_ROLLBACK' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_R_BRACE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_SAVE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_SHORT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_START_STREAM' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_START_TRANSACTION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_STATISTICS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_STORE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_SUB' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_SUBROUTINE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_end_actions' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_ABNORMAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_ACCEPTING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_ACTION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_ADD' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_ALL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_ALLOCATION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_ALTER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_AMPERSAND' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_AND' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_ANYCASE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_ARE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_AS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_ASCENDING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_ASTERISK' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_AUTO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_AUTOCOMMIT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_AVERAGE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_BASE_NAME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_BETWEEN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_BLOB' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_BUFFERCOUNT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_BUFFERSIZE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_BY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_CARAT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_CASCADE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_CAST' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_CHECK' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_CHECK_POINT_LEN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_CLOSE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_COLON' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_COMMA' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_COMMENT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_COMMITTED' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_COMPILETIME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_COMPUTED' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_CONCURRENCY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_CONDITIONAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_CONNECT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_CONSISTENCY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_CONTAINING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_CONTINUE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_COUNT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_CREATE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_CROSS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_CSTRING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_CURRENT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_CURRENT_DATE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_CURRENT_TIME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_CURRENT_TIMESTAMP' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_CURSOR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_DATE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_DAY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_DBA' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_DBKEY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_DEC' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_DECIMAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_DECLARE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_DEFAULT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_DELETE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_DESCENDING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_DESCRIBE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_DESCRIPTOR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_DIALECT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_DISCONNECT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_DISTINCT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_DOT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_DOT_DOT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_DROP' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_END_EXEC' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_ENTRY_POINT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_EQ' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_EQUALS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_EQUIV' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_ERROR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_EVENT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_EXACTCASE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_EXCLUSIVE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_EXECUTE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_EXISTS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_EXTERN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_FILE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_FILENAME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_FILTER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_FIRST' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_FOREIGN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_FORWARD' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_FOUND' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_FROM' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_FULL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_GE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_GEN_ID' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_GENERATOR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_GLOBAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_GO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_GOTO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_GRANT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_GROUP' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_GROUP_COMMIT_WAIT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_GT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_HANDLES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_HAVING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_HOUR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_IMMEDIATE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_IN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_INC' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_INCLUDE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_INDEX' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_INDICATOR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_INIT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_INNER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_INPUT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_INPUT_TYPE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_INSERT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_INTEGER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_INTERNAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_INTO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_IS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_ISOLATION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_LC_CTYPE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_LC_MESSAGES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_LE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_LEFT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_LENGTH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_LEVEL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_LIKE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_LOCK' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_LOG_BUF_SIZE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_LOG_FILE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_LT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_L_BRCKET' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_MAIN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_MANUAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_MATCHES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_MAX' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_MAX_SEGMENT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_MIN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_MINUTE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_MINUS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_MISSING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_MODULE_NAME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_NAME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_NAMES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_NATURAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_NE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_NO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_NOT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_NO_AUTO_UNDO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_NO_WAIT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_NULL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_NUMERIC' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_NUM_LOG_BUFS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_OF' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_ONLY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_OPAQUE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_OPEN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_OPTION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_OPTIONS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_OR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_OR1' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_ORDER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_OUTER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_OUTPUT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_OUTPUT_TYPE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_OVER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_OVERFLOW' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_OVERRIDING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_PAGE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_PAGES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_PAGESIZE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_PAGE_SIZE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_PARAMETER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_PASSWORD' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_PATHNAME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_PLAN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_PLUS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_POINTS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_PRECISION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_PRIMARY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_PRIVILEGES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_PROTECTED' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_PUBLIC' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_QUAD' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_RAW_PARTITIONS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_READ' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_READ_COMMITTED' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_READ_ONLY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_READ_WRITE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_REAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_REDUCED' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_REFERENCES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_REM' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_REQUEST_HANDLE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_RESERVING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_RESOURCE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_RESTRICT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_RETAIN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_RETURNS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_REVOKE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_RIGHT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_RIGHT_PAREN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_ROUTINE_PTR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_RUN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_RUNTIME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_R_BRCKET' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_SCALE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_SCHEDULE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_SCHEMA' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_SECOND' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_SECTION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_SEGMENT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_SELECT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_SEMI_COLON' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_SET' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_SHARED' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_SHADOW' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_SINGULAR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_SIZE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_SLASH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_SMALLINT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_SNAPSHOT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_SORTED' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_SQL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_SQLERROR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_SQLWARNING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_STABILITY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_STARTING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_STARTING_WITH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_STARTS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_STATE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_STATEMENT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_STATIC' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_STOGROUP' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_STREAM' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_STRING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_SUB_TYPE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_SUM' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_SYNONYM' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_TABLE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_TABLESPACE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_TAG' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_TERMINATING_FIELD' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_TERMINATOR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_TIME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_TIMESTAMP' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_TITLE_LENGTH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_TITLE_TEXT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_TO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_TOTAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_TRANSACTION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_TRANSACTION_HANDLE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_TRANSPARENT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_TRIGGER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_UNCOMMITTED' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_UNION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_UNIQUE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_UPDATE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_UPPER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_UPPERCASE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_LOWER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_LOWERCASE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_USER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_USERS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_USER_NAME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_USING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_VALUE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_VALUES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_VAL_PARAM' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_VARCHAR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_VARIABLE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_VARYING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_VERSION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_VIEW' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_WAIT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_WAKING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_WARNING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_WEEKDAY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_WHENEVER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_WITH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_WORK' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_WRITE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_YEAR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_YEARDAY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_NULLIF' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_SKIP' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_CURRENT_CONNECTION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_CURRENT_ROLE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_CURRENT_TRANSACTION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_CURRENT_USER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_COALESCE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_WHEN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_THEN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_SUBSTRING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2394:16: warning: enumeration value 'KW_max' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp: In function 'gpre_rse* par_rse(gpre_req*, gpre_nod*, bool)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/gpre/sqe.cpp: In function 'gpre_nod* par_udf(gpre_req*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3209:28: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 3209 | if (tmp_udf) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp: In function 'gpre_nod* post_fields(gpre_nod*, map*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_literal' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_value' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_and' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_or' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_not' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_eq' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_equiv' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_ne' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_ge' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_le' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_gt' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_lt' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_containing' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_matches' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_any' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_unique' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_projection' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_sort' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_store' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_modify' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_erase' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_assignment' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_max' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_min' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_total' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_average' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_deferred' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_missing' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_between' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_union' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_starting' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_like' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_aggregate' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_from' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_null' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_asterisk' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_user_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_sleuth' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_event_init' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_array' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_via' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_join_inner' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_join_left' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_join_right' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_join_full' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_join' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_dom_value' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_ansi_any' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_merge' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_plan_expr' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_plan_item' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_natural' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_index_order' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_ansi_all' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_current_date' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_current_time' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_current_timestamp' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_nullif' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_current_connection' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_current_role' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_current_transaction' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_coalesce' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_case' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_case1' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_substring' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3506:16: warning: enumeration value 'nod_LASTNOD' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp: In function 'gpre_fld* resolve(gpre_nod*, gpre_ctx*, gpre_ctx**, act**)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/gpre/sqe.cpp:3753:24: warning: enumeration value 'SYM_database' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3753:24: warning: enumeration value 'SYM_field' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3753:24: warning: enumeration value 'SYM_variable' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3753:24: warning: enumeration value 'SYM_stream' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3753:24: warning: enumeration value 'SYM_cursor' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3753:24: warning: enumeration value 'SYM_delimited_cursor' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3753:24: warning: enumeration value 'SYM_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3753:24: warning: enumeration value 'SYM_blob' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3753:24: warning: enumeration value 'SYM_dyn_cursor' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3753:24: warning: enumeration value 'SYM_type' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3753:24: warning: enumeration value 'SYM_udf' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3753:24: warning: enumeration value 'SYM_username' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3753:24: warning: enumeration value 'SYM_charset' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3753:24: warning: enumeration value 'SYM_collate' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3753:24: warning: enumeration value 'SYM_generator' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3753:24: warning: enumeration value 'SYM_dummy' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3753:24: warning: enumeration value 'SYM_LASTSYM' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp: In function 'void set_ref(gpre_nod*, gpre_fld*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_field' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_literal' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_and' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_or' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_not' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_eq' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_equiv' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_ne' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_ge' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_le' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_gt' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_lt' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_containing' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_matches' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_any' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_unique' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_projection' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_sort' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_store' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_modify' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_erase' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_assignment' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_max' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_min' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_total' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_average' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_list' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_deferred' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_missing' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_between' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_union' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_starting' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_like' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_aggregate' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_from' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_null' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_asterisk' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_map_ref' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_user_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_sleuth' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_event_init' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_udf' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_array' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_via' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_join_inner' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_join_left' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_join_right' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_join_full' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_join' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_dom_value' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_ansi_any' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_gen_id' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_merge' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_plan_expr' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_plan_item' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_natural' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_index_order' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_ansi_all' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_current_date' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_current_time' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_current_timestamp' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_nullif' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_current_connection' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_current_role' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_current_transaction' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_coalesce' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_case' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_case1' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_substring' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3862:16: warning: enumeration value 'nod_LASTNOD' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp: In function 'bool validate_references(const gpre_nod*, const gpre_nod*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_field' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_literal' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_value' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_and' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_or' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_not' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_eq' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_equiv' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_ne' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_ge' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_le' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_gt' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_lt' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_containing' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_matches' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_any' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_unique' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_plus' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_times' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_divide' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_minus' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_negate' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_projection' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_sort' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_store' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_modify' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_erase' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_assignment' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_max' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_min' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_total' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_average' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_list' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_deferred' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_missing' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_between' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_union' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_starting' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_like' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_from' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_null' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_asterisk' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_map_ref' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_user_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_upcase' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_sleuth' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_event_init' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_udf' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_array' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_via' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_join_inner' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_join_left' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_join_right' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_join_full' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_join' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_concatenate' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_cast' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_dom_value' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_ansi_any' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_gen_id' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_merge' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_plan_expr' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_plan_item' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_natural' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_index_order' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_ansi_all' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_extract' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_current_date' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_current_time' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_current_timestamp' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_lowcase' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_nullif' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_current_connection' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_current_role' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_current_transaction' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_coalesce' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_case' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_case1' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_substring' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3961:16: warning: enumeration value 'nod_LASTNOD' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_literal' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_value' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_equiv' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_containing' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_matches' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_any' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_unique' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_projection' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_sort' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_store' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_modify' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_erase' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_assignment' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_max' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_min' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_total' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_average' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_list' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_deferred' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_between' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_union' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_starting' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_agg_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_agg_max' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_agg_min' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_agg_total' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_agg_average' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_aggregate' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_from' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_null' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_asterisk' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_user_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_sleuth' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_event_init' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_udf' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_array' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_via' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_join_inner' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_join_left' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_join_right' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_join_full' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_join' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_dom_value' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_ansi_any' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_gen_id' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_merge' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_plan_expr' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_plan_item' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_natural' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_index_order' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_ansi_all' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_extract' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_current_date' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_current_time' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_current_timestamp' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_nullif' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_current_connection' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_current_role' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_current_transaction' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_coalesce' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_case' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_case1' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_substring' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:3986:24: warning: enumeration value 'nod_LASTNOD' not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/gpre.h:1515: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/pat.cpp: In function 'void PATTERN_expand(USHORT, const TEXT*, PAT*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/pat.cpp:186:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 186 | while (c = *pattern++) | ~~^~~~~~~~~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/utils_proto.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/gpre.h:69, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:33: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/Auth.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/Auth.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/pat.cpp:451:32: warning: 'value' may be used uninitialized [-Wmaybe-uninitialized] 451 | sprintf(p, "%d", value); | ~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/pat.cpp:182:16: note: 'value' was declared here 182 | SSHORT value; // value needs to be signed since some of the | ^~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/BigInteger.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/BigInteger.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/gpre.h:1515: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/../gpre/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp: In function 'act* SQL_action(const TEXT*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_none' not handled in switch [-Wswitch] 207 | switch (keyword) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_start_actions' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_ACTIVE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_ANY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_AT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_BACK_SLASH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_BASED' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_BUFFERS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_CACHE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_CANCEL_BLOB' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_CASE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_CHAR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_CLEAR_HANDLES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_CLOSE_BLOB' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_COLLATE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_CONSTRAINT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_CREATE_BLOB' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_DERIVED_FROM' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_DOMAIN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_DOUBLE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_ELEMENT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_ELSE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_END_ERROR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_END_FETCH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_END_FOR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_END_MODIFY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_END_STORE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_END_STORE_SPECIAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_END_STREAM' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_ERASE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_ESCAPE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_EVENT_INIT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_EVENT_WAIT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_EXEC' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_EXTERNAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_EXTRACT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_FINISH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_FLOAT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_FOR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_FUNCTION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_GET_SEGMENT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_GET_SLICE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_INACTIVE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_INT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_KEY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_LONG' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_L_BRACE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_MODIFY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_MONTH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_NAMESPACE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_NATIONAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_NCHAR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_ON' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_ON_ERROR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_OPEN_BLOB' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_PROC' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_PROCEDURE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_PUT_SEGMENT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_PUT_SLICE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_READY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_RELEASE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_RETURNING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_RETURNING_VALUES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_ROLE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_R_BRACE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_SAVE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_SHORT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_START_STREAM' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_START_TRANSACTION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_STATISTICS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_STORE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_SUB' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_SUBROUTINE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_end_actions' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_ABNORMAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_ACCEPTING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_ACTION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_ADD' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_ALL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_ALLOCATION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_AMPERSAND' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_AND' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_ANYCASE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_ARE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_AS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_ASCENDING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_ASTERISK' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_AUTO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_AUTOCOMMIT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_AVERAGE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_BASE_NAME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_BETWEEN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_BLOB' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_BUFFERCOUNT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_BUFFERSIZE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_BY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_CARAT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_CASCADE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_CAST' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_CHECK' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_CHECK_POINT_LEN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_COLON' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_COMMA' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_COMMITTED' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_COMPILETIME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_COMPUTED' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_CONCURRENCY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_CONDITIONAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_CONSISTENCY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_CONTAINING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_CONTINUE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_COUNT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_CROSS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_CSTRING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_CURRENT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_CURRENT_DATE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_CURRENT_TIME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_CURRENT_TIMESTAMP' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_CURSOR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_DATE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_DAY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_DBA' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_DBKEY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_DEC' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_DECIMAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_DEFAULT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_DESCENDING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_DESCRIPTOR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_DIALECT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_DISTINCT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_DOT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_DOT_DOT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_END_EXEC' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_ENTRY_POINT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_EQ' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_EQUALS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_EQUIV' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_ERROR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_EXACTCASE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_EXCLUSIVE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_EXISTS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_EXTERN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_FILE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_FILENAME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_FILTER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_FIRST' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_FOREIGN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_FORWARD' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_FOUND' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_FROM' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_FULL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_GE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_GEN_ID' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_GENERATOR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_GLOBAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_GO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_GOTO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_GROUP' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_GROUP_COMMIT_WAIT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_GT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_HANDLES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_HAVING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_HOUR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_IMMEDIATE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_IN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_INC' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_INDEX' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_INDICATOR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_INIT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_INNER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_INPUT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_INPUT_TYPE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_INTEGER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_INTERNAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_INTO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_IS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_ISOLATION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_JOIN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_LC_CTYPE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_LC_MESSAGES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_LE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_LEFT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_LEFT_PAREN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_LENGTH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_LEVEL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_LIKE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_LOG_BUF_SIZE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_LOG_FILE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_LT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_L_BRCKET' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_MAIN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_MANUAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_MATCHES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_MAX' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_MAX_SEGMENT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_MERGE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_MIN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_MINUTE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_MINUS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_MISSING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_MODULE_NAME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_NAME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_NAMES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_NATURAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_NE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_NO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_NOT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_NO_AUTO_UNDO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_NO_WAIT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_NULL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_NUMERIC' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_NUM_LOG_BUFS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_OF' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_ONLY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_OPAQUE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_OPTION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_OPTIONS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_OR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_OR1' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_ORDER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_OUTER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_OUTPUT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_OUTPUT_TYPE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_OVER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_OVERFLOW' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_OVERRIDING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_PAGE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_PAGES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_PAGESIZE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_PAGE_SIZE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_PARAMETER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_PASSWORD' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_PATHNAME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_PLAN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_PLUS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_POINTS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_PRECISION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_PRIMARY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_PRIVILEGES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_PROTECTED' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_PUBLIC' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_QUAD' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_RAW_PARTITIONS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_READ' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_READ_COMMITTED' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_READ_ONLY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_READ_WRITE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_REAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_REDUCED' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_REFERENCES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_REM' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_REQUEST_HANDLE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_RESERVING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_RESOURCE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_RESTRICT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_RETAIN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_RETURNS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_RIGHT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_RIGHT_PAREN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_ROUTINE_PTR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_RUN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_RUNTIME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_R_BRCKET' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_SCALE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_SCHEDULE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_SCHEMA' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_SECOND' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_SECTION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_SEGMENT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_SEMI_COLON' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_SHARED' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_SHADOW' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_SINGULAR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_SIZE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_SLASH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_SMALLINT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_SNAPSHOT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_SORT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_SORTED' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_SQL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_SQLERROR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_SQLWARNING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_STABILITY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_STARTING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_STARTING_WITH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_STARTS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_STATE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_STATEMENT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_STATIC' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_STOGROUP' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_STREAM' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_STRING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_SUB_TYPE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_SUM' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_SYNONYM' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_TABLE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_TABLESPACE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_TAG' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_TERMINATING_FIELD' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_TERMINATOR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_TIME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_TIMESTAMP' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_TITLE_LENGTH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_TITLE_TEXT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_TO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_TOTAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_TRANSACTION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_TRANSACTION_HANDLE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_TRANSPARENT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_TRIGGER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_UNCOMMITTED' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_UNION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_UNIQUE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_UPPER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_UPPERCASE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_LOWER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_LOWERCASE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_USER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_USERS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_USER_NAME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_USING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_VALUE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_VALUES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_VAL_PARAM' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_VARCHAR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_VARIABLE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_VARYING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_VERSION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_VIEW' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_WAIT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_WAKING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_WARNING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_WEEKDAY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_WITH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_WORK' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_WRITE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_YEAR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_YEARDAY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_NULLIF' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_SKIP' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_CURRENT_CONNECTION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_CURRENT_ROLE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_CURRENT_TRANSACTION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_CURRENT_USER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_COALESCE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_WHEN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_THEN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_SUBSTRING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:207:16: warning: enumeration value 'KW_max' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp: In function 'act* act_declare()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_start_actions' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_ACTIVE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_ANY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_AT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_BACK_SLASH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_BASED' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_BEGIN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_BUFFERS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_CACHE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_CANCEL_BLOB' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_CASE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_CHAR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_CLEAR_HANDLES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_CLOSE_BLOB' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_COLLATE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_COMMIT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_CONSTRAINT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_CREATE_BLOB' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_DATABASE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_DERIVED_FROM' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_DOMAIN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_DOUBLE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_ELEMENT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_ELSE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_END' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_END_ERROR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_END_FETCH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_END_FOR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_END_MODIFY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_END_STORE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_END_STORE_SPECIAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_END_STREAM' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_ERASE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_ESCAPE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_EVENT_INIT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_EVENT_WAIT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_EXEC' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_EXTRACT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_FETCH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_FINISH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_FLOAT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_FOR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_FUNCTION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_GET_SEGMENT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_GET_SLICE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_INACTIVE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_INT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_KEY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_LONG' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_L_BRACE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_MODIFY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_MONTH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_NAMESPACE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_NATIONAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_NCHAR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_ON' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_ON_ERROR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_OPEN_BLOB' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_PREPARE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_PROC' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_PROCEDURE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_PUT_SEGMENT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_PUT_SLICE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_READY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_RELEASE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_RELEASE_REQUESTS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_RETURNING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_RETURNING_VALUES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_ROLE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_ROLLBACK' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_R_BRACE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_SAVE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_SHORT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_START_STREAM' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_START_TRANSACTION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_STATISTICS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_STORE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_SUB' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_SUBROUTINE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_end_actions' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_ABNORMAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_ACCEPTING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_ACTION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_ADD' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_ALL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_ALLOCATION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_ALTER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_AMPERSAND' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_AND' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_ANYCASE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_ARE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_AS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_ASCENDING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_ASTERISK' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_AUTO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_AUTOCOMMIT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_AVERAGE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_BASE_NAME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_BETWEEN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_BLOB' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_BUFFERCOUNT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_BUFFERSIZE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_BY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_CARAT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_CASCADE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_CAST' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_CHECK' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_CHECK_POINT_LEN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_CLOSE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_COLON' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_COMMA' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_COMMENT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_COMMITTED' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_COMPILETIME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_COMPUTED' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_CONCURRENCY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_CONDITIONAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_CONNECT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_CONSISTENCY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_CONTAINING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_CONTINUE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_COUNT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_CREATE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_CROSS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_CSTRING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_CURRENT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_CURRENT_DATE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_CURRENT_TIME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_CURRENT_TIMESTAMP' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_CURSOR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_DATE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_DAY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_DBA' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_DBKEY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_DEC' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_DECIMAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_DECLARE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_DEFAULT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_DELETE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_DESCENDING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_DESCRIBE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_DESCRIPTOR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_DIALECT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_DISCONNECT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_DISTINCT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_DOT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_DOT_DOT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_DROP' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_END_EXEC' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_ENTRY_POINT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_EQ' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_EQUALS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_EQUIV' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_ERROR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_EVENT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_EXACTCASE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_EXCLUSIVE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_EXECUTE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_EXISTS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_EXTERN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_FILE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_FILENAME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_FIRST' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_FOREIGN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_FORWARD' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_FOUND' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_FROM' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_FULL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_GE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_GEN_ID' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_GENERATOR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_GLOBAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_GO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_GOTO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_GRANT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_GROUP' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_GROUP_COMMIT_WAIT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_GT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_HANDLES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_HAVING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_HOUR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_IMMEDIATE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_IN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_INC' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_INCLUDE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_INDEX' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_INDICATOR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_INIT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_INNER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_INPUT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_INPUT_TYPE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_INSERT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_INTEGER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_INTERNAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_INTO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_IS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_ISOLATION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_JOIN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_LC_CTYPE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_LC_MESSAGES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_LE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_LEFT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_LEFT_PAREN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_LENGTH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_LEVEL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_LIKE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_LOCK' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_LOG_BUF_SIZE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_LOG_FILE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_LT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_L_BRCKET' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_MAIN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_MANUAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_MATCHES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_MAX' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_MAX_SEGMENT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_MERGE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_MIN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_MINUTE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_MINUS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_MISSING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_MODULE_NAME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_NAME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_NAMES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_NATURAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_NE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_NO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_NOT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_NO_AUTO_UNDO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_NO_WAIT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_NULL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_NUMERIC' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_NUM_LOG_BUFS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_OF' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_ONLY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_OPAQUE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_OPEN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_OPTION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_OPTIONS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_OR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_OR1' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_ORDER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_OUTER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_OUTPUT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_OUTPUT_TYPE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_OVER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_OVERFLOW' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_OVERRIDING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_PAGE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_PAGES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_PAGESIZE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_PAGE_SIZE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_PARAMETER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_PASSWORD' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_PATHNAME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_PLAN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_PLUS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_POINTS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_PRECISION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_PRIMARY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_PRIVILEGES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_PROTECTED' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_PUBLIC' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_QUAD' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_RAW_PARTITIONS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_READ' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_READ_COMMITTED' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_READ_ONLY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_READ_WRITE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_REAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_REDUCED' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_REFERENCES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_REM' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_REQUEST_HANDLE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_RESERVING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_RESOURCE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_RESTRICT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_RETAIN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_RETURNS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_REVOKE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_RIGHT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_RIGHT_PAREN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_ROUTINE_PTR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_RUN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_RUNTIME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_R_BRCKET' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_SCALE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_SCHEDULE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_SCHEMA' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_SECOND' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_SECTION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_SEGMENT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_SELECT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_SEMI_COLON' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_SET' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_SHARED' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_SHADOW' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_SINGULAR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_SIZE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_SLASH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_SMALLINT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_SNAPSHOT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_SORT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_SORTED' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_SQL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_SQLERROR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_SQLWARNING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_STABILITY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_STARTING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_STARTING_WITH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_STARTS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_STATE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_STATEMENT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_STATIC' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_STOGROUP' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_STREAM' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_STRING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_SUB_TYPE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_SUM' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_SYNONYM' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_TABLE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_TABLESPACE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_TAG' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_TERMINATING_FIELD' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_TERMINATOR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_TIME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_TIMESTAMP' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_TITLE_LENGTH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_TITLE_TEXT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_TO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_TOTAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_TRANSACTION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_TRANSACTION_HANDLE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_TRANSPARENT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_TRIGGER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_UNCOMMITTED' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_UNION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_UNIQUE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_UPDATE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_UPPER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_UPPERCASE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_LOWER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_LOWERCASE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_USER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_USERS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_USER_NAME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_USING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_VALUE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_VALUES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_VAL_PARAM' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_VARCHAR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_VARIABLE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_VARYING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_VERSION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_VIEW' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_WAIT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_WAKING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_WARNING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_WEEKDAY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_WHENEVER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_WITH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_WORK' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_WRITE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_YEAR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_YEARDAY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_NULLIF' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_SKIP' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_CURRENT_CONNECTION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_CURRENT_ROLE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_CURRENT_TRANSACTION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_CURRENT_USER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_COALESCE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_WHEN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_THEN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_SUBSTRING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:2249:16: warning: enumeration value 'KW_max' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp: In function 'void pair(gpre_nod*, gpre_nod*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_nothing' not handled in switch [-Wswitch] 5547 | switch (expr->nod_type) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_and' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_or' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_not' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_eq' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_equiv' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_ne' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_ge' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_le' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_gt' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_lt' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_containing' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_matches' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_any' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_unique' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_plus' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_times' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_divide' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_minus' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_negate' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_projection' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_sort' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_store' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_modify' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_erase' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_assignment' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_max' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_min' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_total' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_average' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_list' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_deferred' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_missing' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_between' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_union' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_starting' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_like' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_agg_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_agg_max' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_agg_min' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_agg_total' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_agg_average' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_aggregate' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_from' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_null' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_asterisk' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_user_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_upcase' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_sleuth' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_event_init' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_udf' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_array' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_via' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_join_inner' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_join_left' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_join_right' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_join_full' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_join' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_concatenate' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_cast' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_dom_value' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_ansi_any' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_gen_id' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_merge' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_plan_expr' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_plan_item' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_natural' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_index_order' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_ansi_all' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_extract' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_current_date' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_current_time' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_current_timestamp' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_lowcase' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_nullif' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_current_connection' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_current_role' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_current_transaction' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_coalesce' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_case' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_case1' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_substring' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5547:16: warning: enumeration value 'nod_LASTNOD' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp: In function 'dyn* par_dynamic_cursor()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sql.cpp:5785:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 5785 | if (symbol = MSC_find_symbol(gpreGlob.token_global.tok_symbol, SYM_dyn_cursor)) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../gpre/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../gpre/../common/utils_proto.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../gpre/gpre.h:69, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/boot/gpre_meta_boot.cpp:34: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../gpre/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../gpre/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../gpre/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../gpre/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../common/os/path_utils.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/gds.cpp:48: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../gpre/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../gpre/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../gpre/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../gpre/gpre.h:1515: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../gpre/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../gpre/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../gpre/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../gpre/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../gpre/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/CRC32C.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/CRC32C.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/BigInteger.cpp: In member function 'void Firebird::BigInteger::assign(unsigned int, const unsigned char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/src/common/../common/BigInteger.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/BigInteger.cpp:34: /usr/include/tommath.h:732:36: note: declared here 732 | 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-4.0.3.2975-0/src/common/BigInteger.cpp: In member function 'void Firebird::BigInteger::getBytes(Firebird::UCharBuffer&) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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:733:34: note: declared here 733 | MP_DEPRECATED(mp_to_ubin) mp_err mp_to_unsigned_bin(const mp_int *a, unsigned char *b) MP_WUR; | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/BigInteger.cpp: In member function 'unsigned int Firebird::BigInteger::length() const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/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:731:33: note: declared here 731 | MP_DEPRECATED(mp_ubin_size) int mp_unsigned_bin_size(const mp_int *a) MP_WUR; | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/BigInteger.cpp: In member function 'void Firebird::BigInteger::getText(Firebird::string&, unsigned int) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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:750:35: note: declared here 750 | MP_DEPRECATED(mp_to_radix) mp_err mp_toradix(const mp_int *a, char *str, int radix) MP_WUR; | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/gds.cpp:49: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/CharSet.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/CharSet.o In function 'gpre_nod* negate(gpre_nod*)', inlined from 'gpre_nod* par_relational(gpre_req*, USHORT*)' at /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2821:26, inlined from 'gpre_nod* par_not(gpre_req*, USHORT*)' at /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2242:23: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/gpre/sqe.cpp: In function 'gpre_nod* par_not(gpre_req*, USHORT*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/sqe.cpp:2722:19: note: 'node' was declared here 2722 | gpre_nod* node; | ^~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/DecFloat.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/DecFloat.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/gds.cpp: In function 'void gds__unregister_cleanup(FPTR_VOID_PTR, void*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/gds.cpp:2482:61: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2482 | for (clean_t** clean_ptr = &cleanup_handlers; clean = *clean_ptr; clean_ptr = &clean->clean_next) | ~~~~~~^~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/DynamicStrings.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/DynamicStrings.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/Int128.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/Int128.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/IntlParametersBlock.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/IntlParametersBlock.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/IntlUtil.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/IntlUtil.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/MsgMetadata.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/MsgMetadata.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/gds.cpp: In function 'void blr_print_verb(gds_ctl*, SSHORT)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/gds.cpp:3422:33: warning: 'n' may be used uninitialized [-Wmaybe-uninitialized] 3422 | while (n-- > 0) { | ~^~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/gds.cpp:3270:16: note: 'n' was declared here 3270 | SSHORT n; | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/DecFloat.cpp:31: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/DecFloat.cpp: In member function 'bool Firebird::Decimal64::isInf() const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/common/DecFloat.cpp:487:16: warning: enumeration value 'DEC_CLASS_QNAN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/DecFloat.cpp:487:16: warning: enumeration value 'DEC_CLASS_NEG_NORMAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/DecFloat.cpp:487:16: warning: enumeration value 'DEC_CLASS_NEG_SUBNORMAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/DecFloat.cpp:487:16: warning: enumeration value 'DEC_CLASS_NEG_ZERO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/DecFloat.cpp:487:16: warning: enumeration value 'DEC_CLASS_POS_ZERO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/DecFloat.cpp:487:16: warning: enumeration value 'DEC_CLASS_POS_SUBNORMAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/DecFloat.cpp:487:16: warning: enumeration value 'DEC_CLASS_POS_NORMAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/DecFloat.cpp: In member function 'bool Firebird::Decimal64::isNan() const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/common/DecFloat.cpp:499:16: warning: enumeration value 'DEC_CLASS_NEG_NORMAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/DecFloat.cpp:499:16: warning: enumeration value 'DEC_CLASS_NEG_SUBNORMAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/DecFloat.cpp:499:16: warning: enumeration value 'DEC_CLASS_NEG_ZERO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/DecFloat.cpp:499:16: warning: enumeration value 'DEC_CLASS_POS_ZERO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/DecFloat.cpp:499:16: warning: enumeration value 'DEC_CLASS_POS_SUBNORMAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/DecFloat.cpp:499:16: warning: enumeration value 'DEC_CLASS_POS_NORMAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/DecFloat.cpp:499:16: warning: enumeration value 'DEC_CLASS_POS_INF' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/DecFloat.cpp: In member function 'bool Firebird::Decimal128::isInf() const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/common/DecFloat.cpp:829:15: warning: enumeration value 'DEC_CLASS_QNAN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/DecFloat.cpp:829:15: warning: enumeration value 'DEC_CLASS_NEG_NORMAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/DecFloat.cpp:829:15: warning: enumeration value 'DEC_CLASS_NEG_SUBNORMAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/DecFloat.cpp:829:15: warning: enumeration value 'DEC_CLASS_NEG_ZERO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/DecFloat.cpp:829:15: warning: enumeration value 'DEC_CLASS_POS_ZERO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/DecFloat.cpp:829:15: warning: enumeration value 'DEC_CLASS_POS_SUBNORMAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/DecFloat.cpp:829:15: warning: enumeration value 'DEC_CLASS_POS_NORMAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/DecFloat.cpp: In member function 'bool Firebird::Decimal128::isNan() const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/common/DecFloat.cpp:841:15: warning: enumeration value 'DEC_CLASS_NEG_NORMAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/DecFloat.cpp:841:15: warning: enumeration value 'DEC_CLASS_NEG_SUBNORMAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/DecFloat.cpp:841:15: warning: enumeration value 'DEC_CLASS_NEG_ZERO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/DecFloat.cpp:841:15: warning: enumeration value 'DEC_CLASS_POS_ZERO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/DecFloat.cpp:841:15: warning: enumeration value 'DEC_CLASS_POS_SUBNORMAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/DecFloat.cpp:841:15: warning: enumeration value 'DEC_CLASS_POS_NORMAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/DecFloat.cpp:841:15: warning: enumeration value 'DEC_CLASS_POS_INF' not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/Int128.cpp:30: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/Int128.cpp: In member function 'void Firebird::Int128::getTable32(unsigned int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/Int128.cpp:611:57: warning: right shift count >= width of type [-Wshift-count-overflow] 611 | dwords[i * 2 + 1] = (v.table[i] >> 32) & 0xFFFFFFFF; | ~~~~~~~~~~~^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/Int128.cpp: In member function 'void Firebird::Int128::setTable32(const unsigned int*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/Int128.cpp:631:36: warning: left shift count >= width of type [-Wshift-count-overflow] 631 | v.table[i] <<= 32; | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/12/cwchar:44, from /usr/include/c++/12/bits/postypes.h:40, from /usr/include/c++/12/iosfwd:40, from /usr/include/c++/12/bits/shared_ptr.h:52, from /usr/include/c++/12/memory:76, from /usr/include/unicode/localpointer.h:45, from /usr/include/unicode/uenum.h:25, from /usr/include/unicode/ucnv.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/unicode_util.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/IntlUtil.cpp:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/ScanDir.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/ScanDir.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/SimilarToRegex.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/SimilarToRegex.o In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/MsgMetadata.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/MsgMetadata.cpp:26: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../jrd/intl.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/IntlUtil.cpp:30: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/StatementMetadata.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/StatementMetadata.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/MsgMetadata.h:33: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/StatusArg.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/StatusArg.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/StatusHolder.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/StatusHolder.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/TextType.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/TextType.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/SimilarToRegex.cpp: In member function 'void {anonymous}::SimilarToCompiler::parsePrimary(int*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/SimilarToRegex.cpp:393:46: warning: unused variable 'range' [-Wunused-variable] 393 | bool range = false; | ^~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/classes/Nullable.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/StatementMetadata.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/StatementMetadata.cpp:26: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/SimilarToRegex.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/SimilarToRegex.cpp:22: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/SimilarToRegex.cpp:836:16: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/extern/re2/re2/re2.h:199, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/SimilarToRegex.h:25: /builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2/re2/stringpiece.h:39:7: note: 'class re2::StringPiece' declared here 39 | class StringPiece { | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/SimilarToRegex.cpp:839:14: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/extern/re2/re2/re2.h:786:12: note: 'class re2::RE2::Arg' declared here 786 | class RE2::Arg { | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/StatementMetadata.h:34: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/SimilarToRegex.cpp: In member function 'void {anonymous}::SimilarToCompiler::parseFactor(int*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/SimilarToRegex.cpp:615:37: warning: 'parseFlags' may be used uninitialized [-Wmaybe-uninitialized] 615 | int parseFlags; | ^~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/ThreadData.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/ThreadData.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/ThreadStart.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/ThreadStart.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/TimeZoneUtil.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/TimeZoneUtil.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/Tokens.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/Tokens.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/ThreadStart.cpp:54: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/ThreadStart.cpp: In static member function 'static Thread Thread::start(void* (*)(void*), void*, int, Handle*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/ThreadStart.cpp:122:24: warning: unused variable 'pattr' [-Wunused-variable] 122 | pthread_attr_t pattr; | ^~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/UtilSvc.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/UtilSvc.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/call_service.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/call_service.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/cvt.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/cvt.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/db_alias.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/db_alias.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/dllinst.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/dllinst.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/dsc.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/dsc.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/enc.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/enc.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/fb_exception.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/fb_exception.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/isc.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/isc.o In file included from /usr/include/wchar.h:35, from /usr/include/c++/12/cwchar:44, from /usr/include/c++/12/bits/postypes.h:40, from /usr/include/c++/12/iosfwd:40, from /usr/include/c++/12/bits/shared_ptr.h:52, from /usr/include/c++/12/memory:76, from /usr/include/unicode/localpointer.h:45, from /usr/include/unicode/uenum.h:25, from /usr/include/unicode/ucnv.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/unicode_util.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/TimeZoneUtil.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/cvt.cpp:50: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/dsc.cpp:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/isc.cpp: In function 'bool ISC_get_user(Firebird::string*, int*, int*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/isc.cpp:343:14: warning: unused variable 'user_name' [-Wunused-variable] 343 | TEXT user_name[256]; | ^~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../jrd/intl.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/cvt.cpp:53: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/firebird.h:63, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/cvt.cpp:38: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/cvt.cpp: In function 'void integer_to_text(const dsc*, dsc*, Firebird::Callbacks*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/common.h:793: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] 793 | #define MOVE_CLEAR(to, length) memset(to, 0, (size_t) (length)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/cvt.cpp:399:9: note: in expansion of macro 'MOVE_CLEAR' 399 | MOVE_CLEAR(&intermediate, sizeof(intermediate)); | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/cvt.cpp: In function 'void datetime_to_text(const dsc*, dsc*, Firebird::Callbacks*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/common.h:793: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] 793 | #define MOVE_CLEAR(to, length) memset(to, 0, (size_t) (length)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/cvt.cpp:2299:9: note: in expansion of macro 'MOVE_CLEAR' 2299 | MOVE_CLEAR(&desc, sizeof(desc)); | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/cvt.cpp: In function 'USHORT CVT_make_string(const dsc*, USHORT, const char**, vary*, USHORT, Firebird::DecimalStatus, ErrorFunction)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/common.h:793: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] 793 | #define MOVE_CLEAR(to, length) memset(to, 0, (size_t) (length)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/cvt.cpp:2421:9: note: in expansion of macro 'MOVE_CLEAR' 2421 | MOVE_CLEAR(&temp_desc, sizeof(temp_desc)); | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/cvt.cpp: In function 'SSHORT cvt_decompose(const char*, USHORT, RetPtr*, ErrorFunction)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/common.h:793: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] 793 | #define MOVE_CLEAR(to, length) memset(to, 0, (size_t) (length)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/cvt.cpp:2520:9: note: in expansion of macro 'MOVE_CLEAR' 2520 | MOVE_CLEAR(&errd, sizeof(errd)); | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../common/common.h:793: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] 793 | #define MOVE_CLEAR(to, length) memset(to, 0, (size_t) (length)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/cvt.cpp:2974:9: note: in expansion of macro 'MOVE_CLEAR' 2974 | MOVE_CLEAR(&temp_desc, sizeof(temp_desc)); | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/isc_file.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/isc_file.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/isc_sync.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/isc_sync.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/keywords.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/keywords.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/pretty.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/pretty.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/sdl.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/sdl.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/pretty.cpp: In function 'int PRETTY_print_cdb(const UCHAR*, FPTR_PRINT_CALLBACK, void*, SSHORT)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/common/pretty.cpp: In function 'void print_blr_line(void*, SSHORT, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/pretty.cpp:493:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 493 | while (c = *line++) | ~~^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/pretty.cpp: In function 'int print_dyn_verb(ctl*, SSHORT)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/security.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/security.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/sha.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/sha.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/unicode_util.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/unicode_util.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/isc_sync.cpp:73:12: warning: 'process_id' defined but not used [-Wunused-variable] 73 | static int process_id; | ^~~~~~~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/classes/MetaString.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/sdl.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/sdl.cpp:27: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ 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-4.0.3.2975-0/src/common/cvt.cpp:1944:20: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/cvt.cpp:2293:42: warning: 'timezone' may be used uninitialized [-Wmaybe-uninitialized] 2293 | p += TimeZoneUtil::format(p, sizeof(temp) - (p - temp), timezone, !tzLookup); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/cvt.cpp: In function 'void CVT_move_common(const dsc*, dsc*, Firebird::DecimalStatus, Firebird::Callbacks*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/cvt.cpp:2199:16: note: 'timezone' was declared here 2199 | USHORT timezone; | ^~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/utils.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/utils.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/sdl.h:28: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/xdr.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/xdr.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/common/unicode_util.cpp:1635:68: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1635 | obj->maxContractionsPrefixLength = len - 1 > obj->maxContractionsPrefixLength ? | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/unicode_util.cpp: In member function 'USHORT Jrd::UnicodeUtil::Utf16Collation::stringToKey(USHORT, const USHORT*, USHORT, UCHAR*, USHORT) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/unicode_util.cpp:1885:81: warning: comparison of integer expressions of different signedness: 'ULONG' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1885 | if (prefixLen == 0 || prefixLen > dstLen - 2 || prefixLen > MAX_USHORT || | ~~~~~~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/unicode_util.cpp:1915:60: warning: comparison of integer expressions of different signedness: 'const ULONG' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 1915 | if (keyLen > dstLen - 2 || keyLen > MAX_USHORT) | ~~~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/unicode_util.cpp:1940:43: warning: comparison of integer expressions of different signedness: 'ULONG' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1940 | if (keyLen == 0 || keyLen > originalDstLen - 3 || keyLen > MAX_USHORT) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/os/posix/SyncSignals.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/os/posix/SyncSignals.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/os/posix/divorce.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/os/posix/divorce.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/cvt.cpp: In function 'double CVT_get_double(const dsc*, Firebird::DecimalStatus, ErrorFunction, bool*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/cvt.cpp:1519:23: warning: 'value' may be used uninitialized [-Wmaybe-uninitialized] 1519 | value *= CVT_power_of_ten(dscale); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/cvt.cpp:1285:16: note: 'value' was declared here 1285 | double value; | ^~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/xdr_proto.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/xdr.cpp:30: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../jrd/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../jrd/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../jrd/align.h:36, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/utils.cpp:52: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../jrd/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../jrd/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../jrd/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../jrd/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../jrd/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /usr/include/locale.h:28, from /usr/include/c++/12/clocale:42, from /usr/include/c++/12/aarch64-OpenCloudOS-linux/bits/c++locale.h:41, from /usr/include/c++/12/bits/localefwd.h:40, from /usr/include/c++/12/ios:41: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../jrd/../common/../jrd/ods.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/../common/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/os/posix/fbsyslog.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/os/posix/fbsyslog.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/xdr.cpp: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/os/posix/guid.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/os/posix/guid.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/os/posix/isc_ipc.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/os/posix/isc_ipc.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/utils.cpp:1057:15: warning: 'fb_utils::saved_frequency' defined but not used [-Wunused-variable] 1057 | static SINT64 saved_frequency = 0; | ^~~~~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/os/posix/mod_loader.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/os/posix/mod_loader.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/os/posix/os_utils.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/os/posix/os_utils.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/os/posix/path_utils.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/os/posix/path_utils.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/BaseStream.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/BaseStream.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/BlobWrapper.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/BlobWrapper.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/os/posix/isc_ipc.cpp: In function 'void ISC_signal_cancel(int, FPTR_VOID_PTR, void*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/BlrWriter.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/BlrWriter.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/ClumpletReader.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/ClumpletReader.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/ClumpletWriter.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/ClumpletWriter.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/DbImplementation.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/DbImplementation.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/Hash.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/Hash.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/ImplementHelper.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/ImplementHelper.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/InternalMessageBuffer.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/InternalMessageBuffer.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/ClumpletReader.cpp: In member function 'bool Firebird::ClumpletReader::isTagged() const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/ClumpletReader.cpp:210:16: warning: enumeration value 'EndOfList' not handled in switch [-Wswitch] 210 | switch (kind) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/ClumpletReader.cpp:210:16: warning: enumeration value 'UnTagged' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/ClumpletReader.cpp:210:16: warning: enumeration value 'SpbStart' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/ClumpletReader.cpp:210:16: warning: enumeration value 'WideUnTagged' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/ClumpletReader.cpp:210:16: warning: enumeration value 'SpbSendItems' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/ClumpletReader.cpp:210:16: warning: enumeration value 'SpbReceiveItems' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/ClumpletReader.cpp:210:16: warning: enumeration value 'SpbResponse' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/ClumpletReader.cpp:210:16: warning: enumeration value 'InfoResponse' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/ClumpletReader.cpp:210:16: warning: enumeration value 'InfoItems' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/ClumpletReader.cpp: In member function 'Firebird::ClumpletReader::ClumpletType Firebird::ClumpletReader::getClumpletType(UCHAR) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/ClumpletReader.cpp:283:16: warning: enumeration value 'EndOfList' not handled in switch [-Wswitch] 283 | switch (kind) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/ClumpletReader.cpp: In member function 'void Firebird::ClumpletReader::moveNext()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/ClumpletReader.cpp:692:16: warning: enumeration value 'EndOfList' not handled in switch [-Wswitch] 692 | switch (kind) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/ClumpletReader.cpp:692:16: warning: enumeration value 'Tagged' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/ClumpletReader.cpp:692:16: warning: enumeration value 'UnTagged' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/ClumpletReader.cpp:692:16: warning: enumeration value 'SpbAttach' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/ClumpletReader.cpp:692:16: warning: enumeration value 'SpbStart' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/ClumpletReader.cpp:692:16: warning: enumeration value 'Tpb' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/ClumpletReader.cpp:692:16: warning: enumeration value 'WideTagged' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/ClumpletReader.cpp:692:16: warning: enumeration value 'WideUnTagged' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/ClumpletReader.cpp:692:16: warning: enumeration value 'SpbSendItems' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/ClumpletReader.cpp:692:16: warning: enumeration value 'SpbReceiveItems' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/ClumpletReader.cpp:692:16: warning: enumeration value 'SpbResponse' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/ClumpletReader.cpp:692:16: warning: enumeration value 'InfoItems' not handled in switch [-Wswitch] g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/MetaString.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/MetaString.o In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/DbImplementation.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/DbImplementation.cpp:28: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/unicode_util.cpp:1904:99: warning: 'lastCharKeyLen' may be used uninitialized [-Wmaybe-uninitialized] 1904 | const UCHAR advance = prefixLen && lastCharKeyLen > 1 && | ~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/unicode_util.cpp:1873:58: note: 'lastCharKeyLen' was declared here 1873 | ULONG prefixLen, lastCharKeyLen; | ^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/auto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/Hash.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/Hash.cpp:24: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/MsgPrint.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/MsgPrint.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/NoThrowTimeStamp.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/NoThrowTimeStamp.o In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/utils_proto.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/InternalMessageBuffer.cpp:30: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/ParsedList.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/ParsedList.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/SafeArg.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/SafeArg.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/Hash.cpp:25: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/InternalMessageBuffer.cpp:34: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/InternalMessageBuffer.cpp: In constructor 'Firebird::MetadataFromBlr::MetadataFromBlr(unsigned int, const unsigned char*, unsigned int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/InternalMessageBuffer.cpp:79:18: warning: unused variable 'offset' [-Wunused-variable] 79 | unsigned offset = 0; | ^~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/Switches.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/Switches.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/SyncObject.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/SyncObject.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/Synchronize.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/Synchronize.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/TempFile.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/TempFile.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/TimerImpl.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/TimerImpl.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/SyncObject.cpp:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/SyncObject.cpp: In member function 'void Firebird::SyncObject::validate(Firebird::SyncType) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/TomCryptHash.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/TomCryptHash.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/UserBlob.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/UserBlob.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/Synchronize.cpp:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/stdio.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/auto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/Hash.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/TomCryptHash.cpp:26: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/Synchronize.cpp: In member function 'bool Firebird::Synchronize::sleep(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/Synchronize.cpp:136:13: warning: unused variable 'seconds' [-Wunused-variable] 136 | int seconds = nanoTime.tv_sec - microTime.tv_sec; | ^~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/Synchronize.cpp: In static member function 'static void Firebird::ThreadSync::setThread(Firebird::ThreadSync*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/Synchronize.cpp:259:29: warning: unused variable 'other' [-Wunused-variable] 259 | ThreadSync* other = findThread(); | ^~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/alloc.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/alloc.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/fb_string.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/fb_string.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/init.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/init.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/locks.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/locks.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/TomCryptHash.cpp:27: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/alloc.cpp: In constructor 'Firebird::MemHeader::MemHeader(size_t, Firebird::MemMediumHunk*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/alloc.cpp:311:23: warning: unused variable 'fromTheHunk' [-Wunused-variable] 311 | off_t fromTheHunk = ((UCHAR*)this) - ((UCHAR*)hunk); // dup !!! | ^~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/semaphore.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/semaphore.o In file included from /usr/include/dirent.h:247, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/os/os_utils.h:51, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/alloc.cpp:56: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/alloc.cpp: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/alloc.cpp:1560:55: warning: 'offsetof' within non-standard-layout type 'Firebird::MemBlock' is conditionally-supported [-Winvalid-offsetof] 1560 | static const unsigned MEM_OVERHEAD = offsetof(MemBlock, body); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/alloc.cpp:1596:55: warning: 'offsetof' within non-standard-layout type 'Firebird::MemBlock' is conditionally-supported [-Winvalid-offsetof] 1596 | static const unsigned MEM_OVERHEAD = offsetof(MemBlock, body); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/alloc.cpp: In member function 'Firebird::MemBlock* Firebird::MemPool::alloc(size_t, size_t&, bool)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/alloc.cpp:2285:62: warning: 'offsetof' within non-standard-layout type 'Firebird::MemBlock' is conditionally-supported [-Winvalid-offsetof] 2285 | size_t hunkLength = MemBigHunk::hdrSize() + offsetof(MemBlock, body) + length; | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/alloc.cpp: In static member function 'static void Firebird::MemPool::releaseMemory(void*, bool)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/alloc.cpp:2346:75: warning: 'offsetof' within non-standard-layout type 'Firebird::MemBlock' is conditionally-supported [-Winvalid-offsetof] 2346 | MemBlock* block = (MemBlock*) ((UCHAR*) object - offsetof(MemBlock, body)); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/alloc.cpp: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/alloc.cpp:172:5: warning: '{anonymous}::dev_zero_fd' defined but not used [-Wunused-variable] 172 | int dev_zero_fd = 0; | ^~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/timestamp.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/timestamp.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/init.cpp: In function 'void {anonymous}::init()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/init.cpp:199:21: warning: unused variable 'ret' [-Wunused-variable] 199 | int ret = pthread_atfork(NULL, NULL, child); | ^~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/classes/zip.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/zip.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/ConfigCache.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/config/ConfigCache.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/config/config.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config_file.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/config/config_file.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/dir_list.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/config/dir_list.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/sha2/sha2.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/sha2/sha2.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp: In destructor 'virtual Firebird::Config::~Config()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:425:24: warning: enumeration value 'TYPE_BOOLEAN' not handled in switch [-Wswitch] 425 | switch (entries[i].data_type) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:425:24: warning: enumeration value 'TYPE_INTEGER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp: In static member function 'static Firebird::ConfigValue Firebird::Config::specialProcessing(Firebird::ConfigKey, Firebird::ConfigValue)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_TEMP_BLOCK_SIZE' not handled in switch [-Wswitch] 558 | switch (key) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_TEMP_CACHE_LIMIT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_REMOTE_FILE_OPEN_ABILITY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_GUARDIAN_OPTION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_CPU_AFFINITY_MASK' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_TCP_REMOTE_BUFFER_SIZE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_TCP_NO_NAGLE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_TCP_LOOPBACK_FAST_PATH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_DEFAULT_DB_CACHE_PAGES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_CONNECTION_TIMEOUT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_DUMMY_PACKET_INTERVAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_DEFAULT_TIME_ZONE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_LOCK_MEM_SIZE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_LOCK_HASH_SLOTS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_LOCK_ACQUIRE_SPINS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_EVENT_MEM_SIZE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_DEADLOCK_TIMEOUT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_REMOTE_SERVICE_NAME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_REMOTE_SERVICE_PORT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_REMOTE_PIPE_NAME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_IPC_NAME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_MAX_UNFLUSHED_WRITES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_MAX_UNFLUSHED_WRITE_TIME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_PROCESS_PRIORITY_LEVEL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_REMOTE_AUX_PORT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_REMOTE_BIND_ADDRESS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_EXTERNAL_FILE_ACCESS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_DATABASE_ACCESS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_UDF_ACCESS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_TEMP_DIRECTORIES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_BUGCHECK_ABORT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_TRACE_DSQL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_LEGACY_HASH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_GC_POLICY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_REDIRECTION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_DATABASE_GROWTH_INCREMENT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_FILESYSTEM_CACHE_THRESHOLD' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_RELAXED_ALIAS_CHECKING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_TRACE_CONFIG' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_MAX_TRACELOG_SIZE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_FILESYSTEM_CACHE_SIZE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_PLUG_PROVIDERS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_PLUG_AUTH_SERVER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_PLUG_AUTH_CLIENT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_PLUG_AUTH_MANAGE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_PLUG_TRACE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_SERVER_MODE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_WIRE_CRYPT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_PLUG_WIRE_CRYPT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_PLUG_KEY_HOLDER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_REMOTE_ACCESS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_IPV6_V6ONLY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_WIRE_COMPRESSION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_MAX_IDENTIFIER_BYTE_LENGTH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_MAX_IDENTIFIER_CHAR_LENGTH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_ENCRYPT_SECURITY_DATABASE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_STMT_TIMEOUT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_CONN_IDLE_TIMEOUT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_ON_DISCONNECT_TRIG_TIMEOUT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_CLIENT_BATCH_BUFFER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_OUTPUT_REDIRECTION_FILE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_EXT_CONN_POOL_SIZE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_EXT_CONN_POOL_LIFETIME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_SNAPSHOTS_MEM_SIZE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_TIP_CACHE_BLOCK_SIZE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_READ_CONSISTENCY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_CLEAR_GTT_RETAINING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_DATA_TYPE_COMPATIBILITY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_USE_FILESYSTEM_CACHE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_INLINE_SORT_THRESHOLD' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_TEMP_PAGESPACE_DIR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'KEY_LEGACY_KERNEL_NAMES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:558:16: warning: enumeration value 'MAX_CONFIG_KEY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp: In static member function 'static int Firebird::Config::getServerMode()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:607:25: warning: unused variable 'key' [-Wunused-variable] 607 | const ConfigKey key = KEY; \ | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:617:9: note: in expansion of macro 'DECLARE_GLOBAL_KEY' 617 | DECLARE_GLOBAL_KEY(KEY_SERVER_MODE); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp: In member function 'const char* Firebird::Config::getPlugins(unsigned int) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:613:23: warning: unused variable 'config' [-Wunused-variable] 613 | const Config* config = this; | ^~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:628:25: note: in expansion of macro 'DECLARE_PER_DB_KEY' 628 | DECLARE_PER_DB_KEY(KEY_PLUG_PROVIDERS); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:613:23: warning: unused variable 'config' [-Wunused-variable] 613 | const Config* config = this; | ^~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:634:25: note: in expansion of macro 'DECLARE_PER_DB_KEY' 634 | DECLARE_PER_DB_KEY(KEY_PLUG_AUTH_SERVER); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:613:23: warning: unused variable 'config' [-Wunused-variable] 613 | const Config* config = this; | ^~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:640:25: note: in expansion of macro 'DECLARE_PER_DB_KEY' 640 | DECLARE_PER_DB_KEY(KEY_PLUG_AUTH_CLIENT); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:613:23: warning: unused variable 'config' [-Wunused-variable] 613 | const Config* config = this; | ^~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:646:25: note: in expansion of macro 'DECLARE_PER_DB_KEY' 646 | DECLARE_PER_DB_KEY(KEY_PLUG_AUTH_MANAGE); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:613:23: warning: unused variable 'config' [-Wunused-variable] 613 | const Config* config = this; | ^~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:652:25: note: in expansion of macro 'DECLARE_PER_DB_KEY' 652 | DECLARE_PER_DB_KEY(KEY_PLUG_TRACE); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:613:23: warning: unused variable 'config' [-Wunused-variable] 613 | const Config* config = this; | ^~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:658:25: note: in expansion of macro 'DECLARE_PER_DB_KEY' 658 | DECLARE_PER_DB_KEY(KEY_PLUG_WIRE_CRYPT); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:613:23: warning: unused variable 'config' [-Wunused-variable] 613 | const Config* config = this; | ^~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:664:25: note: in expansion of macro 'DECLARE_PER_DB_KEY' 664 | DECLARE_PER_DB_KEY(KEY_PLUG_KEY_HOLDER); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp: In member function 'int Firebird::Config::getWireCrypt(Firebird::WireCryptMode) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:613:23: warning: unused variable 'config' [-Wunused-variable] 613 | const Config* config = this; | ^~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:679:9: note: in expansion of macro 'DECLARE_PER_DB_KEY' 679 | DECLARE_PER_DB_KEY(KEY_WIRE_CRYPT); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp: In member function 'bool Firebird::Config::getUseFileSystemCache(bool*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:613:23: warning: unused variable 'config' [-Wunused-variable] 613 | const Config* config = this; | ^~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/config.cpp:703:9: note: in expansion of macro 'DECLARE_PER_DB_KEY' 703 | DECLARE_PER_DB_KEY(KEY_USE_FILESYSTEM_CACHE); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/dir_list.cpp: In member function 'bool Firebird::DirectoryList::isPathInList(const Firebird::PathName&) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/dir_list.cpp:218:16: warning: enumeration value 'NotInitialized' not handled in switch [-Wswitch] 218 | switch (mode) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/dir_list.cpp:218:16: warning: enumeration value 'Restrict' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/config/dir_list.cpp:218:16: warning: enumeration value 'SimpleList' not handled in switch [-Wswitch] rm -f /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common.a ar crus /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common.a /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/Auth.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/BigInteger.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/CRC32C.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/CharSet.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/DecFloat.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/DynamicStrings.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/Int128.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/IntlParametersBlock.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/IntlUtil.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/MsgMetadata.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/ScanDir.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/SimilarToRegex.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/StatementMetadata.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/StatusArg.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/StatusHolder.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/TextType.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/ThreadData.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/ThreadStart.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/TimeZoneUtil.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/Tokens.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/UtilSvc.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/call_service.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/cvt.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/db_alias.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/dllinst.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/dsc.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/enc.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/fb_exception.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/isc.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/isc_file.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/isc_sync.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/keywords.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/pretty.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/sdl.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/security.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/sha.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/unicode_util.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/utils.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/xdr.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/os/posix/SyncSignals.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/os/posix/divorce.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/os/posix/fbsyslog.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/os/posix/guid.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/os/posix/isc_ipc.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/os/posix/mod_loader.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/os/posix/os_utils.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/os/posix/path_utils.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/BaseStream.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/BlobWrapper.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/BlrWriter.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/ClumpletReader.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/ClumpletWriter.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/DbImplementation.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/Hash.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/ImplementHelper.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/InternalMessageBuffer.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/MetaString.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/MsgPrint.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/NoThrowTimeStamp.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/ParsedList.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/SafeArg.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/Switches.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/SyncObject.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/Synchronize.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/TempFile.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/TimerImpl.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/TomCryptHash.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/UserBlob.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/alloc.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/fb_string.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/init.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/locks.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/semaphore.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/timestamp.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/zip.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/config/ConfigCache.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/config/config.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/config/config_file.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/config/dir_list.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/sha2/sha2.o g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -static-libstdc++ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,--version-script,empty.vers /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/c_cxx.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/cmd.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/cme.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/cmp.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/exp.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/gpre.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/hsh.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/int_cxx.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/jrdmet.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/movg.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/msc.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/obj_cxx.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/par.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/pat.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/sqe.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/sql.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/boot/gpre_meta_boot.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/gds.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common.a -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/gpre_boot -L/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib -latomic -lm -ldecFloat -lre2 rm -f /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/gpre_current (cd /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin; ln -s gpre_boot gpre_current) make[3]: Leaving directory '/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen' make yvalve make[3]: Entering directory '/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen' g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/DistributedTransaction.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/DistributedTransaction.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/MasterImplementation.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/MasterImplementation.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/PluginManager.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/PluginManager.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/alt.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/alt.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/gpre_current -m -z -n /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/array.epp /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/array.cpp gpre version LI-V4.0.3.2975 Firebird 4.0 /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/gpre_current -m -z -n /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/blob.epp /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/blob.cpp gpre version LI-V4.0.3.2975 Firebird 4.0 g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/keywordsStub.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/keywordsStub.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/perf.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/perf.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/preparse.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/preparse.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/user_dsql.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/user_dsql.o In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/../common/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/../common/../common/utils_proto.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/../common/StatusHolder.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/YObjects.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/DistributedTransaction.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/DistributedTransaction.cpp:31: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/../common/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/../common/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/../common/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/../common/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/utl.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/utl.o In file included from /usr/include/stdio.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/auto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/classes/ImplementHelper.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/PluginManager.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/PluginManager.cpp:26: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/../common/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/src/include/firebird/Interface.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_exception.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../common/classes/init.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/alt.cpp:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/ibase.h:721:41: note: declared here 721 | ISC_STATUS FB_API_DEPRECATED ISC_EXPORT isc_ddl(ISC_STATUS*, | ^~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/../common/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/../common/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/../common/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/../common/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/../common/../common/utils_proto.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/../common/StatusHolder.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/YObjects.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/MasterImplementation.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/MasterImplementation.cpp:34: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/../common/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/../common/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/../common/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/../common/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/../common/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/../common/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/../common/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/YObjects.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/../common/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/../common/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/../common/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/../common/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/../common/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/../common/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/../common/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/../common/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/YObjects.h:36, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/MasterImplementation.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/PluginManager.cpp:27: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/../common/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/../common/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/../common/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/../common/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/../common/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/prepa_proto.h:28, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/preparse.cpp:28: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/../common/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/../common/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/../common/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/YObjects.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/../common/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/../common/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/../common/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/../common/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../yvalve/../common/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../jrd/../common/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../jrd/../common/isc_s_proto.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../jrd/event.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/utl.cpp:53: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/classes/ImplementHelper.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/utl_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/perf.cpp:37: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/YObjects.h:36, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/preparse.cpp:30: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/YObjects.h:36, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/perf.cpp:38: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/YObjects.h:36, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/utl.cpp:56: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/why.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/why.o In file included from /usr/include/stdio.h:964, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/perf.cpp:31: In function 'int sprintf(char*, const char*, ...)', inlined from 'int perf_format(const P*, const P*, const SCHAR*, SCHAR*, SSHORT*) [with P = perf]' at /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/perf.cpp:194:12: /usr/include/bits/stdio2.h:30:34: warning: 'delta' 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-4.0.3.2975-0/src/yvalve/perf.cpp: In function 'int perf_format(const P*, const P*, const SCHAR*, SCHAR*, SSHORT*) [with P = perf]': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/perf.cpp:138:32: note: 'delta' was declared here 138 | SINT64 delta; | ^~~~~ In function 'int sprintf(char*, const char*, ...)', inlined from 'int perf_format(const P*, const P*, const SCHAR*, SCHAR*, SSHORT*) [with P = perf64]' at /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/perf.cpp:194:12: /usr/include/bits/stdio2.h:30:34: warning: 'delta' 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-4.0.3.2975-0/src/yvalve/perf.cpp: In function 'int perf_format(const P*, const P*, const SCHAR*, SCHAR*, SSHORT*) [with P = perf64]': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/perf.cpp:138:32: note: 'delta' was declared here 138 | SINT64 delta; | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/yvalve/utl.cpp:607:22: warning: unused variable 'v3Error' [-Wunused-variable] 607 | bool v3Error = false; | ^~~~~~~ gcc -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/config/os/posix/binreloc.c -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/config/os/posix/binreloc.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/config/os/posix/config_root.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/config/os/posix/config_root.o In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/utils_proto.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/StatusHolder.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/YObjects.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/why.cpp:38: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/inet.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/remote/inet.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/merge.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/remote/merge.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/parser.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/remote/parser.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/YObjects.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/../yvalve/../common/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/protocol.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/remote/protocol.o In file included from /usr/include/rpc/netdb.h:42, from /usr/include/netdb.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/inet.cpp:88: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/remote.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/remote/remote.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_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-4.0.3.2975-0/src/remote/../remote/remote.h:51, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/merge.cpp:27: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_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-4.0.3.2975-0/src/remote/../remote/remote.h:51, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/parser.cpp:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/remote.h:306, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/inet.cpp:102: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/remote.h:306: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/remote.h: In constructor 'RFlags::RFlags()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/remote.h:429:29: warning: typedef 'dummy' locally defined but not used [-Wunused-local-typedefs] 429 | typedef int dummy[T(-1) > 0]; | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/remote.h: In constructor 'RFlags::RFlags()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/remote.h:429:29: warning: typedef 'dummy' locally defined but not used [-Wunused-local-typedefs] 429 | typedef int dummy[T(-1) > 0]; | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/remote.h: In member function 'bool rem_port::releasePort()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/remote.h:1250:28: warning: unused variable 'locked' [-Wunused-variable] 1250 | const bool locked = portGuard.tryEnter(); | ^~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/remote.h: In member function 'bool rem_port::releasePort()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/remote.h:1250:28: warning: unused variable 'locked' [-Wunused-variable] 1250 | const bool locked = portGuard.tryEnter(); | ^~~~~~ In file included from /usr/include/bits/socket.h:27, from /usr/include/sys/socket.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/remote.h:51, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/protocol.cpp:33: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/inet.cpp: In function 'rem_port* INET_server(SOCKET)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/inet.cpp:1285:13: warning: unused variable 'n' [-Wunused-variable] 1285 | int n = 0; | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/remote.h:306: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/remote.h: In constructor 'RFlags::RFlags()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/remote.h:429:29: warning: typedef 'dummy' locally defined but not used [-Wunused-local-typedefs] 429 | typedef int dummy[T(-1) > 0]; | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/utl.cpp: In member function 'virtual void Why::UtilInterface::getFbVersion(Firebird::CheckStatusWrapper*, Firebird::IAttachment*, Firebird::IVersionCallback*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/utl.cpp:563:25: warning: 'ods_minor_version' may be used uninitialized [-Wmaybe-uninitialized] 563 | s.printf("on disk structure version %d.%d", ods_version, ods_minor_version); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/utl.cpp:558:37: note: 'ods_minor_version' was declared here 558 | USHORT ods_version, ods_minor_version; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/utl.cpp:563:25: warning: 'ods_version' may be used uninitialized [-Wmaybe-uninitialized] 563 | s.printf("on disk structure version %d.%d", ods_version, ods_minor_version); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/utl.cpp:558:24: note: 'ods_version' was declared here 558 | USHORT ods_version, ods_minor_version; | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../common/os/os_utils.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/inet.cpp:57: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/remote/../remote/remote.h:320:16: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../common/classes/ClumpletReader.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../common/classes/ClumpletWriter.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/Auth.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/remote.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/remote/../remote/remote.h:320:16: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/remote/../remote/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/remote.h: In member function 'bool rem_port::releasePort()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/remote.h:1250:28: warning: unused variable 'locked' [-Wunused-variable] 1250 | const bool locked = portGuard.tryEnter(); | ^~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/parser.cpp: In function 'RMessage* PARSE_messages(const UCHAR*, size_t)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/parser.cpp:70:15: warning: unused variable 'net_length' [-Wunused-variable] 70 | ULONG net_length = 0; | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/ClumpletReader.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../common/classes/ClumpletWriter.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/Auth.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/remote.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/remote/../remote/remote.h:320:16: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/src/remote/../remote/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/remote.h:306: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/remote.h: In constructor 'RFlags::RFlags()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/remote.h:429:29: warning: typedef 'dummy' locally defined but not used [-Wunused-local-typedefs] 429 | typedef int dummy[T(-1) > 0]; | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/remote.h: In member function 'bool rem_port::releasePort()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/remote.h:1250:28: warning: unused variable 'locked' [-Wunused-variable] 1250 | const bool locked = portGuard.tryEnter(); | ^~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/utl.cpp: In constructor 'Why::XpbBuilder::XpbBuilder(unsigned int, const unsigned char*, unsigned int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/utl.cpp:936:112: warning: 'k' may be used uninitialized [-Wmaybe-uninitialized] 936 | pb = FB_NEW_POOL(getPool()) ClumpletWriter(getPool(), k, MAX_DPB_SIZE, buf, len); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/utl.cpp:877:38: note: 'k' was declared here 877 | ClumpletReader::Kind k; | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/protocol.cpp: In function 'bool_t xdr_bytes(RemoteXdr*, void*, ULONG)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/protocol.cpp:1145:16: warning: enumeration value 'XDR_FREE' not handled in switch [-Wswitch] 1145 | switch (xdrs->x_op) | ^ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/auth/SecureRemotePassword/srp.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/auth/SecureRemotePassword/srp.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/BlrFromMessage.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/remote/client/BlrFromMessage.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/ClumpletReader.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../common/classes/ClumpletWriter.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/Auth.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/remote.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/remote/../remote/remote.h:320:16: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/src/remote/../remote/remote.h:51, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/remote.cpp:28: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../common/classes/BatchCompletionState.h:65:12: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/config/config_file.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/config/config.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/classes/GetPlugins.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/remote.h:43: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/fb_pair.h:107:16: note: 'struct Firebird::Pair >' declared here 107 | struct Pair : public BasePair | ^~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/remote.h:306: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/remote.h: In constructor 'RFlags::RFlags()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/remote.h:429:29: warning: typedef 'dummy' locally defined but not used [-Wunused-local-typedefs] 429 | typedef int dummy[T(-1) > 0]; | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/remote.h: In member function 'bool rem_port::releasePort()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/remote.h:1250:28: warning: unused variable 'locked' [-Wunused-variable] 1250 | const bool locked = portGuard.tryEnter(); | ^~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/ClumpletReader.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/../common/classes/ClumpletWriter.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/../common/Auth.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/../remote/remote.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/remote/../remote/remote.h:320:16: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/remote/../remote/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/BigInteger.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../auth/SecureRemotePassword/srp.h:1, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/auth/SecureRemotePassword/srp.cpp:4: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/align.h:36, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/BlrFromMessage.cpp:32: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /usr/include/locale.h:28, from /usr/include/c++/12/clocale:42, from /usr/include/c++/12/aarch64-OpenCloudOS-linux/bits/c++locale.h:41, from /usr/include/c++/12/bits/localefwd.h:40, from /usr/include/c++/12/ios:41: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/inet.cpp: In function 'bool packet_receive(rem_port*, UCHAR*, SSHORT, SSHORT*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/inet.cpp:2993:23: warning: 'timeout.timeval::tv_sec' may be used uninitialized [-Wmaybe-uninitialized] 2993 | const timeval savetime = timeout; | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/inet.cpp:2972:17: note: 'timeout' declared here 2972 | timeval timeout; | ^~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/xdr_proto.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/remot_proto.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../auth/SecureRemotePassword/srp.h:14: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/remote/client/interface.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/auth/SecureRemotePassword/client/SrpClient.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/auth/SecureRemotePassword/client/SrpClient.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/auth/SecurityDatabase/LegacyClient.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/auth/SecurityDatabase/LegacyClient.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/plugins/crypt/arc4/Arc4.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/plugins/crypt/arc4/Arc4.o In file included from /usr/include/bits/socket.h:27, from /usr/include/sys/socket.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/remote.h:51, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:37: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/array.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/array.o In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/BigInteger.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../auth/SecureRemotePassword/srp.h:1, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/auth/SecureRemotePassword/client/SrpClient.cpp:30: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/remote.h:306: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/remote.h: In constructor 'RFlags::RFlags()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/remote.h:429:29: warning: typedef 'dummy' locally defined but not used [-Wunused-local-typedefs] 429 | typedef int dummy[T(-1) > 0]; | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/remote.h: In member function 'bool rem_port::releasePort()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/remote.h:1250:28: warning: unused variable 'locked' [-Wunused-variable] 1250 | const bool locked = portGuard.tryEnter(); | ^~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/xdr_proto.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/remot_proto.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../auth/SecureRemotePassword/srp.h:14: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/blob.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/blob.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp: In function 'void Remote::receive_packet_noqueue(rem_port*, PACKET*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_void' not handled in switch [-Wswitch] 8511 | switch (p->packet.p_operation) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_connect' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_exit' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_accept' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_reject' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_disconnect' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_response' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_attach' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_create' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_detach' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_compile' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_start' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_start_and_send' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_send' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_receive' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_unwind' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_release' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_transaction' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_commit' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_rollback' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_prepare' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_reconnect' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_create_blob' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_open_blob' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_get_segment' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_put_segment' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_cancel_blob' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_close_blob' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_info_database' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_info_request' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_info_transaction' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_info_blob' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_batch_segments' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_que_events' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_cancel_events' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_commit_retaining' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_prepare2' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_event' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_connect_request' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_aux_connect' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_ddl' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_open_blob2' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_create_blob2' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_get_slice' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_put_slice' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_slice' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_seek_blob' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_allocate_statement' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_exec_immediate' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_fetch' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_fetch_response' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_prepare_statement' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_set_cursor' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_info_sql' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_dummy' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_response_piggyback' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_start_and_receive' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_start_send_and_receive' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_exec_immediate2' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_execute2' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_insert' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_sql_response' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_transact' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_transact_response' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_drop_database' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_service_attach' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_service_detach' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_service_info' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_service_start' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_rollback_retaining' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_update_account_info' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_authenticate_user' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_partial' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_trusted_auth' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_cancel' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_cont_auth' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_ping' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_accept_data' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_abort_aux_connection' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_crypt' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_crypt_key_callback' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_cond_accept' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_batch_exec' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_batch_rls' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_batch_cs' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_batch_regblob' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_batch_blob_stream' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_batch_set_bpb' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_repl_data' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_repl_req' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_batch_cancel' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_batch_sync' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_info_batch' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:8511:32: warning: enumeration value 'op_max' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp: In function 'void Remote::zap_packet(PACKET*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:9177: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] 9177 | memset(packet, 0, sizeof(struct packet)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../remote/remote_def.h:43, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/remote.h:33: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../remote/../remote/protocol.h:737:16: note: 'PACKET' {aka 'struct packet'} declared here 737 | typedef struct packet | ^~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/array.cpp:71:4: warning: 'SQLCODE' defined but not used [-Wunused-variable] 71 | SQLCODE; /* SQL status code */ | ^~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/array.cpp:70:4: warning: 'isc_array_length' defined but not used [-Wunused-variable] 70 | isc_array_length, /* array return size */ | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/array.cpp:68:4: warning: 'isc_status2' defined but not used [-Wunused-variable] 68 | isc_status2 [20]; /* status vector */ | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/array.cpp:67:4: warning: 'isc_status' defined but not used [-Wunused-variable] 67 | isc_status [20], /* status vector */ | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/array.cpp:65:4: warning: 'gds_trans' defined but not used [-Wunused-variable] 65 | gds_trans = 0; /* default transaction handle */ | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/array.cpp:62:4: warning: 'DB' defined but not used [-Wunused-variable] 62 | DB = 0; /* database handle */ | ^~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/ClumpletReader.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/classes/ClumpletWriter.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/Auth.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/remote.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../remote/remote.h:320:16: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../remote/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/BatchCompletionState.h:65:12: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/config/config_file.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/config/config.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/classes/GetPlugins.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/remote.h:43: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/fb_pair.h:107:16: note: 'struct Firebird::Pair >' declared here 107 | struct Pair : public BasePair | ^~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../remote/remote.h:1211:21: required from 'OBJCT rem_port::setHandle(T*, OBJCT) [with T = Rrq; OBJCT = short unsigned int]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/client/interface.cpp:1734:3: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../remote/remote.h:581:7: note: 'class RemoteObject' declared here 581 | class RemoteObject | ^~~~~~~~~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/intl.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/blob.cpp:40: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/blob.cpp: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/blob.cpp:65:4: warning: 'SQLCODE' defined but not used [-Wunused-variable] 65 | SQLCODE; /* SQL status code */ | ^~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/blob.cpp:64:4: warning: 'isc_array_length' defined but not used [-Wunused-variable] 64 | isc_array_length, /* array return size */ | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/blob.cpp:62:4: warning: 'isc_status2' defined but not used [-Wunused-variable] 62 | isc_status2 [20]; /* status vector */ | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/blob.cpp:61:4: warning: 'isc_status' defined but not used [-Wunused-variable] 61 | isc_status [20], /* status vector */ | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/blob.cpp:59:4: warning: 'gds_trans' defined but not used [-Wunused-variable] 59 | gds_trans = 0; /* default transaction handle */ | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/blob.cpp:56:4: warning: 'DB' defined but not used [-Wunused-variable] 56 | DB = 0; /* database handle */ | ^~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -static-libstdc++ -Wl,--version-script,firebird.vers -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -shared -Wl,-soname,libfbclient.so.2 -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib/libfbclient.so.4.0.3 /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/DistributedTransaction.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/MasterImplementation.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/PluginManager.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/alt.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/array.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/blob.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/gds.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/keywordsStub.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/perf.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/preparse.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/user_dsql.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/utl.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/why.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/config/os/posix/binreloc.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/yvalve/config/os/posix/config_root.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/remote/inet.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/remote/merge.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/remote/parser.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/remote/protocol.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/remote/remote.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/auth/SecureRemotePassword/srp.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/remote/client/BlrFromMessage.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/remote/client/interface.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/auth/SecureRemotePassword/client/SrpClient.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/auth/SecurityDatabase/LegacyClient.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/plugins/crypt/arc4/Arc4.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common.a -L/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib -latomic -lm -ldecFloat -lre2 -ltommath -ltomcrypt (cd /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib && ln -s -f libfbclient.so.4.0.3 libfbclient.so.2 ) (cd /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib && ln -s -f libfbclient.so.2 libfbclient.so ) make[3]: Leaving directory '/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen' make engine make[3]: Entering directory '/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen' g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/Attachment.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/Attachment.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/Coercion.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/Coercion.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/Collation.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/Collation.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/ConfigTable.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/ConfigTable.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/CryptoManager.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/CryptoManager.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/DataTypeUtil.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/DataTypeUtil.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/Database.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/Database.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/DbCreators.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/DbCreators.o In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/Collation.cpp:96: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/stdio.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/auto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../include/../common/classes/alloc.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../include/fb_blk.h:4, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/Attachment.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/Attachment.cpp:26: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/stdio.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/auto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/array.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/Coercion.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/Coercion.cpp:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/stdio.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/auto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../include/../common/classes/alloc.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../include/fb_blk.h:4, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/Database.cpp:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/PreparedStatement.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/Attachment.h:32: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/12/cwchar:44, from /usr/include/c++/12/bits/postypes.h:40, from /usr/include/c++/12/iosfwd:40, from /usr/include/c++/12/bits/shared_ptr.h:52, from /usr/include/c++/12/memory:76, from /usr/include/unicode/localpointer.h:45, from /usr/include/unicode/uenum.h:25, from /usr/include/unicode/ucnv.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/unicode_util.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/intl_classes.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Monitoring.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/ConfigTable.h:28, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/ConfigTable.cpp:23: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/Attachment.h:40: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/CryptoManager.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/CryptoManager.cpp:32: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/Coercion.h:34: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/PreparedStatement.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Attachment.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/lck.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/Database.cpp:32: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Attachment.h:40: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/DbCreators.cpp:40: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/Database.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/Attachment.cpp:28: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/DataTypeUtil.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/DataTypeUtil.cpp:28: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/stdio.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/auto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../auth/SecureRemotePassword/Message.h:9, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/DbCreators.cpp:31: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../common/../jrd/ods.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h:38: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /usr/include/stdio.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/auto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/alloc.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/CryptoManager.h:32: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/jrd.h:51, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/ExprNodes.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/RecordSourceNodes.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/recsrc/RecordSource.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Monitoring.h:32: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/Database.h:61: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/Database.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/Database.cpp:33: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/dsql.h:46, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/Coercion.cpp:32: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../dsql/../jrd/Attachment.h:40, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/dsql.h:47: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../dsql/../jrd/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/Database.h:61: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/RecordSourceNodes.h:31: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/Attachment.cpp:33: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../dsql/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/cvt_proto.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/Coercion.cpp:30: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/SysFunction.h:36, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/DataTypeUtil.cpp:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/Database.cpp:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/ExprNodes.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/RecordSourceNodes.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/recsrc/RecordSource.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/DbCreators.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/DbCreators.cpp:48: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Monitoring.h:27: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/PreparedStatement.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Attachment.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/CryptoManager.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/recsrc/RecordSource.h:28: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/recsrc/RecordSource.h:30: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/classes/ImplementHelper.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/security.h:28, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/scl.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/Attachment.h:31: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/scl.h:27: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/Database.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/CryptoManager.cpp:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../lock/lock_proto.h:40, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/lck.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../lock/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/scl.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Attachment.h:31: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/RecordSourceNodes.h:31: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/ExtEngineManager.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/Database.h:66: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/Database.h:61: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/DebugInterface.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/DebugInterface.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/ExtEngineManager.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/Database.h:66: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/StatusHolder.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../auth/SecureRemotePassword/Message.h:10: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/DbCreators.cpp:41: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/RecordSourceNodes.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/recsrc/RecordSource.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/Monitoring.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/CryptoManager.cpp:47: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/recsrc/RecordSource.h:28: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/CryptoManager.cpp: In constructor 'Jrd::PhysHdr::PhysHdr(Jrd::thread_db*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/CryptoManager.cpp:217:36: warning: unused variable 'isTempPage' [-Wunused-variable] 217 | const bool isTempPage = pageSpace->isTemporary(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/DataTypeUtil.h:32: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../lock/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../lock/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../lock/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/CryptoManager.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/CryptoManager.h:38: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/ExtEngineManager.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/Database.h:66: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/recsrc/RecordSource.h:30: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../common/classes/array.h:165:3: required from 'void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/recsrc/RecordSource.h:30: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/ExtEngineManager.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/ExtEngineManager.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/gpre_current -n -z -gds_cxx -ids /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/Function.epp /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/Function.cpp In file included from /usr/include/stdio.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/auto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../include/../common/classes/alloc.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../include/fb_blk.h:4, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/Attachment.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/DebugInterface.cpp:24: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ gpre version LI-V4.0.3.2975 Firebird 4.0 g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/GarbageCollector.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/GarbageCollector.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/PreparedStatement.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/Attachment.h:32: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/Attachment.h:40: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/DebugInterface.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/DebugInterface.cpp:25: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/blb_proto.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/DebugInterface.cpp:26: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/classes/ImplementHelper.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/security.h:28, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/scl.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/Attachment.h:31: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/scl.h:27: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/GarbageCollector.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/GarbageCollector.cpp:24: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ In file included from /usr/include/stdio.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/auto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/classes/alloc.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/GarbageCollector.cpp:23: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/stdio.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/auto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/array.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/ExtEngineManager.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/ExtEngineManager.cpp:27: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/blb_proto.h:32: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/StatementMetadata.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/EngineInterface.h:28, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/blb.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/GarbageCollector.cpp:25: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/Relation.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/StatementMetadata.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/ExtEngineManager.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/ExtEngineManager.cpp:31: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/GlobalRWLock.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/GlobalRWLock.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/GarbageCollector.h:27: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/ExtEngineManager.cpp:32: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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/stdio.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/auto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/classes/alloc.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/GlobalRWLock.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/GlobalRWLock.cpp:32: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/ExtEngineManager.cpp: In member function 'virtual const Jrd::StmtNode* {anonymous}::ExtProcedureNode::execute(Jrd::thread_db*, Jrd::jrd_req*, Jrd::StmtNode::ExeState*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/ExtEngineManager.cpp:374:32: warning: enumeration value 'req_return' not handled in switch [-Wswitch] 374 | switch (request->req_operation) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/ExtEngineManager.cpp:374:32: warning: enumeration value 'req_receive' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/ExtEngineManager.cpp:374:32: warning: enumeration value 'req_send' not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/GlobalRWLock.h:34: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/IntlManager.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/IntlManager.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/ExtEngineManager.h:30: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/ExtEngineManager.h:31: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/ExtEngineManager.cpp:33: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/array.h:376:6: required from 'void Firebird::Array::push(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../dsql/DdlNodes.h:2058:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/JrdStatement.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/JrdStatement.o In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/Mapping.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/Mapping.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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++/12/cwchar:44, from /usr/include/c++/12/bits/postypes.h:40, from /usr/include/c++/12/iosfwd:40, from /usr/include/c++/12/bits/shared_ptr.h:52, from /usr/include/c++/12/memory:76, from /usr/include/unicode/localpointer.h:45, from /usr/include/unicode/uenum.h:25, from /usr/include/unicode/ucnv.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/unicode_util.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/intl_classes.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/intl_proto.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/IntlManager.cpp:31: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/MetaName.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/MetaName.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/intl.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/IntlManager.cpp:32: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/Mapping.cpp:37: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/Monitoring.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/Monitoring.o In file included from /usr/include/stdio.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/auto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../auth/SecureRemotePassword/Message.h:9, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/Mapping.cpp:31: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../common/../jrd/ods.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/stdio.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/auto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../include/../common/classes/alloc.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../include/fb_blk.h:4, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/JrdStatement.h:24, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/JrdStatement.cpp:22: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/ExprNodes.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/RecordSourceNodes.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/recsrc/RecordSource.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/Mapping.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/Mapping.cpp:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/MetaName.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/MetaName.cpp:33: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/Optimizer.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/Optimizer.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/StatementMetadata.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/EngineInterface.h:28, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/blb.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/JrdStatement.h:25: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/Relation.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/MetaName.cpp:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/Monitoring.cpp:25: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/RecordSourceNodes.h:31: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/PreparedStatement.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/PreparedStatement.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/JrdStatement.cpp: In static member function 'static Jrd::JrdStatement* Jrd::JrdStatement::makeStatement(Jrd::thread_db*, Jrd::CompilerScratch*, bool)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/JrdStatement.cpp:206:25: warning: unused variable 'dbb' [-Wunused-variable] 206 | Database* const dbb = tdbb->getDatabase(); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/classes/ImplementHelper.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/EngineInterface.h:27: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/JrdStatement.cpp:162:17: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/JrdStatement.cpp:26: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/JrdStatement.cpp:758:16: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:239:8: note: 'struct Jrd::ExternalAccess' declared here 239 | struct ExternalAccess | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/Monitoring.cpp:27: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/JrdStatement.cpp:852:27: required from 'void makeSubRoutines(Jrd::thread_db*, Jrd::JrdStatement*, Jrd::CompilerScratch*, T&) [with T = Firebird::GenericMap >]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/JrdStatement.cpp:81:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:188:8: note: 'struct Jrd::AccessItem' declared here 188 | struct AccessItem | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:188:8: note: 'struct Jrd::AccessItem' declared here 188 | struct AccessItem | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:239:8: note: 'struct Jrd::ExternalAccess' declared here 239 | struct ExternalAccess | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/JrdStatement.cpp:162:17: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/JrdStatement.cpp:758:16: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:239:8: note: 'struct Jrd::ExternalAccess' declared here 239 | struct ExternalAccess | ^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/StatusHolder.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../auth/SecureRemotePassword/Message.h:10: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/Mapping.cpp:38: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../dsql/DdlNodes.h:2058:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/JrdStatement.cpp:852:27: required from 'void makeSubRoutines(Jrd::thread_db*, Jrd::JrdStatement*, Jrd::CompilerScratch*, T&) [with T = Firebird::GenericMap >]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/JrdStatement.cpp:81:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:188:8: note: 'struct Jrd::AccessItem' declared here 188 | struct AccessItem | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/Optimizer.cpp:31: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/recsrc/RecordSource.h:28: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/recsrc/RecordSource.h:30: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/PreparedStatement.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/PreparedStatement.cpp:23: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/RandomGenerator.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/RandomGenerator.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/Monitoring.cpp:32: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/RecordBuffer.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/RecordBuffer.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/PreparedStatement.cpp:26: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/Optimizer.cpp:32: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/RecordBuffer.cpp:25: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/PreparedStatement.cpp:27: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/MsgMetadata.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/PreparedStatement.h:28: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/PreparedStatement.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../common/classes/array.h:165:3: required from 'void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/RecordSourceNodes.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/RecordSourceNodes.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/recsrc/RecordSource.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/Optimizer.cpp:40: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../dsql/DdlNodes.h:2058:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/RecordBuffer.cpp:26: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/Relation.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/Relation.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/align.h:36, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/RecordSourceNodes.cpp:22: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /usr/include/locale.h:28, from /usr/include/c++/12/clocale:42, from /usr/include/c++/12/aarch64-OpenCloudOS-linux/bits/c++locale.h:41, from /usr/include/c++/12/bits/localefwd.h:40, from /usr/include/c++/12/ios:41: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/Relation.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/Relation.cpp:24: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../dsql/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/ExprNodes.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/RecordSourceNodes.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/RecordSourceNodes.cpp:23: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../dsql/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../dsql/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../dsql/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../dsql/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/ResultSet.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/ResultSet.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../dsql/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | 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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/TextType.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/intl_classes.h:38, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:34: In member function 'const char* Firebird::MetaString::c_str() const', inlined from 'static void Jrd::Monitoring::dumpAttachment(Jrd::thread_db*, Jrd::Attachment*)' at /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/Monitoring.cpp:1396:71: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/Monitoring.cpp: In static member function 'static void Jrd::Monitoring::dumpAttachment(Jrd::thread_db*, Jrd::Attachment*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/Monitoring.cpp:1389:62: note: unnamed temporary defined here 1389 | const MetaString& user_name = attachment->getUserName(); | ~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/Relation.cpp:27: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/Routine.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/Routine.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/RecordSourceNodes.h:31: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/Relation.cpp: In member function 'void Jrd::jrd_rel::retainPages(Jrd::thread_db*, TraNumber, TraNumber)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/Relation.cpp:219:16: warning: unused variable 'inst_id' [-Wunused-variable] 219 | SINT64 inst_id = oldNumber; | ^~~~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/ResultSet.h:28, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/ResultSet.cpp:23: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/RuntimeStatistics.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/RuntimeStatistics.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/ResultSet.cpp:26: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ In member function 'const char* Firebird::MetaString::c_str() const', inlined from 'Jrd::MonitoringSnapshot::MonitoringSnapshot(Jrd::thread_db*, Firebird::MemoryPool&)' at /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/Monitoring.cpp:476:70: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/Monitoring.cpp: In constructor 'Jrd::MonitoringSnapshot::MonitoringSnapshot(Jrd::thread_db*, Firebird::MemoryPool&)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/Monitoring.cpp:475:71: note: unnamed temporary defined here 475 | const MetaString& user_name = attachment->getEffectiveUserName(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /usr/include/stdio.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/auto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/array.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/Routine.h:24, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/Routine.cpp:23: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/ResultSet.cpp:27: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/RecordSourceNodes.h:25: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../dsql/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/align.h:54: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../dsql/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../dsql/../dsql/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/QualifiedName.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/RecordSourceNodes.h:28: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../dsql/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/RecordSourceNodes.h:27: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ In file included from /usr/include/stdio.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/auto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../include/../common/classes/alloc.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../include/fb_blk.h:4, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/blb.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/RuntimeStatistics.cpp:25: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/recsrc/RecordSource.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/RecordSourceNodes.cpp:26: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/RecordSourceNodes.cpp:426:14: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/MsgMetadata.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/PreparedStatement.h:28, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/ResultSet.cpp:24: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/ResultSet.h:32: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/Routine.h:30: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../common/classes/array.h:165:3: required from 'void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/array.h:376:6: required from 'void Firebird::Array::push(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../dsql/DdlNodes.h:2058:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/Relation.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:36, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/JrdStatement.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/Routine.cpp:24: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/StatementMetadata.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/EngineInterface.h:28, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/blb.h:33: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/Savepoint.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/Savepoint.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/Relation.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/SysFunction.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/SysFunction.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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 /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/Routine.h:27: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/SystemPackages.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/SystemPackages.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/Routine.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /usr/include/stdio.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/auto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../include/../common/classes/alloc.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../include/fb_blk.h:4, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/tra.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/Savepoint.cpp:22: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/classes/ImplementHelper.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/EngineInterface.h:27: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/TempSpace.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/TempSpace.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/StatementMetadata.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/EngineInterface.h:28, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/blb.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/tra.h:38: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/Relation.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../common/utils_proto.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/StatusHolder.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/status.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/SystemPackages.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/SystemPackages.cpp:24: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/TimeZone.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/TimeZone.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/classes/TempFile.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/TempSpace.cpp:26: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/intl.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/ini.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/SystemPackages.h:32: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/12/cwchar:44, from /usr/include/c++/12/bits/postypes.h:40, from /usr/include/c++/12/iosfwd:40, from /usr/include/c++/12/bits/shared_ptr.h:52, from /usr/include/c++/12/memory:76, from /usr/include/unicode/localpointer.h:45, from /usr/include/unicode/uenum.h:25, from /usr/include/unicode/ucnv.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/../common/unicode_util.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/TimeZoneUtil.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/SysFunction.cpp:33: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Monitoring.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/TimeZone.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/SystemPackages.cpp:25: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/jrd.h:51, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/ExprNodes.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/RecordSourceNodes.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/recsrc/RecordSource.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Monitoring.h:32: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/classes/ImplementHelper.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/EngineInterface.h:27: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/UserManagement.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/UserManagement.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/TempSpace.cpp:32: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/SysFunction.h:36, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/SysFunction.cpp:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | 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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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 /usr/include/wchar.h:35, from /usr/include/c++/12/cwchar:44, from /usr/include/c++/12/bits/postypes.h:40, from /usr/include/c++/12/iosfwd:40, from /usr/include/c++/12/bits/shared_ptr.h:52, from /usr/include/c++/12/memory:76, from /usr/include/unicode/localpointer.h:45, from /usr/include/unicode/uenum.h:25, from /usr/include/unicode/ucnv.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/unicode_util.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/intl_classes.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Monitoring.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/TimeZone.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/TimeZone.cpp:24: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../common/classes/File.h:26, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/classes/TempFile.h:28: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/RecordSourceNodes.h:31: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/SysFunction.cpp:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../common/classes/array.h:165:3: required from 'void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h:38: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/jrd.h:51, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/ExprNodes.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/RecordSourceNodes.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/recsrc/RecordSource.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Monitoring.h:32: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../common/utils_proto.h:34: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/recsrc/RecordSource.h:28: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/VirtualTable.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/VirtualTable.o In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/recsrc/RecordSource.h:30: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/SysFunction.cpp: In function 'dsc* {anonymous}::evlBlobAppend(Jrd::thread_db*, const SysFunction*, const Jrd::NestValueArray&, Jrd::impure_value*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/SysFunction.cpp:2397:59: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2397 | if (arg0_null || argDsc->isBlob() && !copyBlob) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/12/cwchar:44, from /usr/include/c++/12/bits/postypes.h:40, from /usr/include/c++/12/iosfwd:40, from /usr/include/c++/12/bits/shared_ptr.h:52, from /usr/include/c++/12/memory:76, from /usr/include/unicode/localpointer.h:45, from /usr/include/unicode/uenum.h:25, from /usr/include/unicode/ucnv.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/unicode_util.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/intl_classes.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Monitoring.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/UserManagement.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/UserManagement.cpp:25: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/SysFunction.cpp:3259:24: warning: unused variable 'CTR_32' [-Wunused-variable] 3259 | const unsigned CTR_32 = 1; | ^~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/SysFunction.cpp:3260:24: warning: unused variable 'CTR_64' [-Wunused-variable] 3260 | const unsigned CTR_64 = 2; | ^~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/SysFunction.cpp:3664:62: warning: comparison of integer expressions of different signedness: 'int' and 'const ULONG' {aka 'const unsigned int'} [-Wsign-compare] 3664 | if (encodeFlag && arg->getStringLength() * 2 > MAX_VARY_COLUMN_SIZE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../common/../common/../common/IntlUtil.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/../common/unicode_util.h:31: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/trace/TraceObjects.h:391:16: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/RecordSourceNodes.h:31: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/SysFunction.h:34: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/SysFunction.cpp:41: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h:38: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/jrd.h:51, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/ExprNodes.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/RecordSourceNodes.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/recsrc/RecordSource.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Monitoring.h:32: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/Monitoring.h:27: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/VirtualTable.cpp:25: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/blb.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/blb.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/recsrc/RecordSource.h:28: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/blob_filter.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/blob_filter.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/recsrc/RecordSource.h:30: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/RecordSourceNodes.h:31: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/VirtualTable.cpp:27: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/ClumpletReader.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/classes/ClumpletWriter.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/UserManagement.cpp:24: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/recsrc/RecordSource.h:28: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/blb.cpp:42: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/btn.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/btn.o In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/VirtualTable.cpp:28: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/config/config.h:26, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/blob_filter.cpp:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/recsrc/RecordSource.h:30: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/VirtualTable.cpp: In static member function 'static void Jrd::VirtualTable::erase(Jrd::thread_db*, Jrd::record_param*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/VirtualTable.cpp:54:19: warning: unused variable 'dbb' [-Wunused-variable] 54 | Database* dbb = tdbb->getDatabase(); | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../common/classes/array.h:165:3: required from 'void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/VirtualTable.cpp:31: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/blob_filter.cpp:30: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/btn.cpp:30: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/blb.cpp:43: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/btr.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/btr.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/blob_filter.cpp:32: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/builtin.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/builtin.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/config/config_file.h:28, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/config/config.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/cch.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cmp.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/cmp.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../common/classes/array.h:165:3: required from 'void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cvt.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/cvt.o In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp:33: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ In file included from /usr/include/wchar.h:35, from /usr/include/c++/12/cwchar:44, from /usr/include/c++/12/bits/postypes.h:40, from /usr/include/c++/12/iosfwd:40, from /usr/include/c++/12/bits/shared_ptr.h:52, from /usr/include/c++/12/memory:76, from /usr/include/unicode/localpointer.h:45, from /usr/include/unicode/uenum.h:25, from /usr/include/unicode/ucnv.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/../common/unicode_util.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/TimeZoneUtil.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/btr.cpp:32: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/btr.cpp:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cvt2.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/cvt2.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cmp.cpp:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cvt.cpp:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | 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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/btr.cpp:41: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cvt2.cpp:31: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp:42: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/btr.cpp: In function 'void BTR_complement_key(Jrd::temporary_key*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/btr.cpp:402:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 402 | } while (key = key->key_next.get()); | ~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/btr.cpp: In function 'void compress(Jrd::thread_db*, const dsc*, Jrd::temporary_key*, USHORT, bool, bool, USHORT)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/btr.cpp:2484:25: warning: unused variable 'dbb' [-Wunused-variable] 2484 | const Database* dbb = tdbb->getDatabase(); | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/btr.cpp: In function '{anonymous}::contents delete_node(Jrd::thread_db*, Jrd::WIN*, UCHAR*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/btr.cpp:3102:22: warning: unused variable 'tempEnd' [-Wunused-variable] 3102 | UCHAR* const tempEnd = tempBuf.end(); | ^~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/btr.cpp:5335:28: warning: unused variable 'excludePointer' [-Wunused-variable] 5335 | const UCHAR* const excludePointer = (UCHAR*) page + excludeOffset; | ^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp: In function 'Ods::pag* CCH_fetch(Jrd::thread_db*, Jrd::WIN*, int, SCHAR, int, bool)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp:735:16: warning: enumeration value 'lsLockedHavePage' not handled in switch [-Wswitch] 735 | switch (lockState) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp:735:16: warning: enumeration value 'lsError' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp: In function 'Jrd::Lock* alloc_page_lock(Jrd::thread_db*, Jrd::BufferDesc*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp:2525:25: warning: unused variable 'dbb' [-Wunused-variable] 2525 | Database* const dbb = tdbb->getDatabase(); | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp: In function 'void purgePrecedence(Jrd::BufferControl*, Jrd::BufferDesc*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp:2604:58: warning: 'offsetof' within non-standard-layout type 'Jrd::Precedence' is conditionally-supported [-Winvalid-offsetof] 2604 | Precedence* precedence = BLOCK(que_prec, Precedence, pre_higher); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp:2604:42: note: in expansion of macro 'BLOCK' 2604 | Precedence* precedence = BLOCK(que_prec, Precedence, pre_higher); | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp: In function 'void flushDirty(Jrd::thread_db*, SLONG, bool)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp:2632:59: warning: 'offsetof' within non-standard-layout type 'Jrd::BufferDesc' is conditionally-supported [-Winvalid-offsetof] 2632 | BufferDesc* bdb = BLOCK(que_inst, BufferDesc, bdb_dirty); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp:2632:43: note: in expansion of macro 'BLOCK' 2632 | BufferDesc* bdb = BLOCK(que_inst, BufferDesc, bdb_dirty); | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp: In function 'void flushAll(Jrd::thread_db*, USHORT)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp:2667:20: warning: unused variable 'write_thru' [-Wunused-variable] 2667 | const bool write_thru = release_flag; | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp: In function 'void clear_precedence(Jrd::thread_db*, Jrd::BufferDesc*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp:3271:58: warning: 'offsetof' within non-standard-layout type 'Jrd::Precedence' is conditionally-supported [-Winvalid-offsetof] 3271 | Precedence* precedence = BLOCK(que_inst, Precedence, pre_lower); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp:3271:42: note: in expansion of macro 'BLOCK' 3271 | Precedence* precedence = BLOCK(que_inst, Precedence, pre_lower); | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp: In function 'void down_grade(Jrd::thread_db*, Jrd::BufferDesc*, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp:3398:66: warning: 'offsetof' within non-standard-layout type 'Jrd::Precedence' is conditionally-supported [-Winvalid-offsetof] 3398 | Precedence* precedence = BLOCK(que_inst, Precedence, pre_higher); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp:3398:50: note: in expansion of macro 'BLOCK' 3398 | Precedence* precedence = BLOCK(que_inst, Precedence, pre_higher); | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp:3484:66: warning: 'offsetof' within non-standard-layout type 'Jrd::Precedence' is conditionally-supported [-Winvalid-offsetof] 3484 | Precedence* precedence = BLOCK(que_inst, Precedence, pre_lower); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp:3484:50: note: in expansion of macro 'BLOCK' 3484 | Precedence* precedence = BLOCK(que_inst, Precedence, pre_lower); | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp: In function 'bool expand_buffers(Jrd::thread_db*, ULONG)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp:3583:59: warning: 'offsetof' within non-standard-layout type 'Jrd::BufferDesc' is conditionally-supported [-Winvalid-offsetof] 3583 | BufferDesc* bdb = BLOCK(que_inst, BufferDesc, bdb_que); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp:3583:43: note: in expansion of macro 'BLOCK' 3583 | BufferDesc* bdb = BLOCK(que_inst, BufferDesc, bdb_que); | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp: In function 'Jrd::BufferDesc* find_buffer(Jrd::BufferControl*, Jrd::PageNumber, bool)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp:3627:51: warning: 'offsetof' within non-standard-layout type 'Jrd::BufferDesc' is conditionally-supported [-Winvalid-offsetof] 3627 | BufferDesc* bdb = BLOCK(que_inst, BufferDesc, bdb_que); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp:3627:35: note: in expansion of macro 'BLOCK' 3627 | BufferDesc* bdb = BLOCK(que_inst, BufferDesc, bdb_que); | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp:3637:59: warning: 'offsetof' within non-standard-layout type 'Jrd::BufferDesc' is conditionally-supported [-Winvalid-offsetof] 3637 | BufferDesc* bdb = BLOCK(que_inst, BufferDesc, bdb_que); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp:3637:43: note: in expansion of macro 'BLOCK' 3637 | BufferDesc* bdb = BLOCK(que_inst, BufferDesc, bdb_que); | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp: In function 'Jrd::BufferDesc* get_buffer(Jrd::thread_db*, Jrd::PageNumber, Firebird::SyncType, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp:3796:67: warning: 'offsetof' within non-standard-layout type 'Jrd::BufferDesc' is conditionally-supported [-Winvalid-offsetof] 3796 | BufferDesc* bdb = BLOCK(que_inst, BufferDesc, bdb_in_use); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp:3796:51: note: in expansion of macro 'BLOCK' 3796 | BufferDesc* bdb = BLOCK(que_inst, BufferDesc, bdb_in_use); | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp:3825:59: warning: 'offsetof' within non-standard-layout type 'Jrd::BufferDesc' is conditionally-supported [-Winvalid-offsetof] 3825 | BufferDesc* bdb = BLOCK(que_inst, BufferDesc, bdb_que); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp:3825:43: note: in expansion of macro 'BLOCK' 3825 | BufferDesc* bdb = BLOCK(que_inst, BufferDesc, bdb_que); | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp:3891:62: warning: 'offsetof' within non-standard-layout type 'Jrd::BufferDesc' is conditionally-supported [-Winvalid-offsetof] 3891 | BufferDesc* oldest = BLOCK(que_inst, BufferDesc, bdb_in_use); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp:3891:46: note: in expansion of macro 'BLOCK' 3891 | BufferDesc* oldest = BLOCK(que_inst, BufferDesc, bdb_in_use); | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp:3995:86: warning: 'offsetof' within non-standard-layout type 'Jrd::Precedence' is conditionally-supported [-Winvalid-offsetof] 3995 | Precedence* precedence = BLOCK(que2, Precedence, pre_higher); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp:3995:74: note: in expansion of macro 'BLOCK' 3995 | Precedence* precedence = BLOCK(que2, Precedence, pre_higher); | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp: In function 'int get_related(Jrd::BufferDesc*, Jrd::PagesArray&, int, ULONG)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp:4089:64: warning: 'offsetof' within non-standard-layout type 'Jrd::Precedence' is conditionally-supported [-Winvalid-offsetof] 4089 | const Precedence* precedence = BLOCK(que_inst, Precedence, pre_lower); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp:4089:48: note: in expansion of macro 'BLOCK' 4089 | const Precedence* precedence = BLOCK(que_inst, Precedence, pre_lower); | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp:4082:24: warning: unused variable 'bcb' [-Wunused-variable] 4082 | BufferControl* bcb = bdb->bdb_bcb; | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp: In function 'LockState lock_buffer(Jrd::thread_db*, Jrd::BufferDesc*, SSHORT, SCHAR)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp:4145:30: warning: unused variable 'bcb' [-Wunused-variable] 4145 | BufferControl* const bcb = bdb->bdb_bcb; | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp: In function 'SSHORT related(Jrd::BufferDesc*, const Jrd::BufferDesc*, SSHORT, ULONG)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp:4630:64: warning: 'offsetof' within non-standard-layout type 'Jrd::Precedence' is conditionally-supported [-Winvalid-offsetof] 4630 | const Precedence* precedence = BLOCK(que_inst, Precedence, pre_higher); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp:4630:48: note: in expansion of macro 'BLOCK' 4630 | const Precedence* precedence = BLOCK(que_inst, Precedence, pre_higher); | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp: In function 'bool is_writeable(Jrd::BufferDesc*, ULONG)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp:4711:61: warning: 'offsetof' within non-standard-layout type 'Jrd::Precedence' is conditionally-supported [-Winvalid-offsetof] 4711 | const Precedence* precedence = BLOCK(queue, Precedence, pre_higher); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp:4711:48: note: in expansion of macro 'BLOCK' 4711 | const Precedence* precedence = BLOCK(queue, Precedence, pre_higher); | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp: In function 'int write_buffer(Jrd::thread_db*, Jrd::BufferDesc*, Jrd::PageNumber, bool, Jrd::FbStatusVector*, bool)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp:4811:66: warning: 'offsetof' within non-standard-layout type 'Jrd::Precedence' is conditionally-supported [-Winvalid-offsetof] 4811 | Precedence* precedence = BLOCK(que_inst, Precedence, pre_higher); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp:4811:50: note: in expansion of macro 'BLOCK' 4811 | Precedence* precedence = BLOCK(que_inst, Precedence, pre_higher); | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/SysFunction.cpp:3634:47: warning: 'last' may be used uninitialized [-Wmaybe-uninitialized] 3634 | out.add((last << 4) + binChar(c, pos)); | ~~~~~~^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/SysFunction.cpp:3598:15: note: 'last' was declared here 3598 | UCHAR last; | ^~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/SysFunction.cpp:3625:31: warning: 'ptr' may be used uninitialized [-Wmaybe-uninitialized] 3625 | UCHAR c = *ptr++; | ^~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/SysFunction.cpp:3595:22: note: 'ptr' was declared here 3595 | const UCHAR* ptr; | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/../common/../common/IntlUtil.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/../common/unicode_util.h:31: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/btr.cpp:3476:16: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/btr.cpp:172:16: note: 'struct {anonymous}::FastLoadLevel' declared here 172 | struct FastLoadLevel | ^~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cmp.cpp:46: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/btr.cpp:3476:16: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/btr.cpp:172:16: note: 'struct {anonymous}::FastLoadLevel' declared here 172 | struct FastLoadLevel | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cvt.cpp:40: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/firebird.h:63, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cvt.cpp:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cvt.cpp: In function 'double CVT_date_to_double(const dsc*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/common.h:793: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] 793 | #define MOVE_CLEAR(to, length) memset(to, 0, (size_t) (length)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cvt.cpp: In function 'UCHAR CVT_get_numeric(const UCHAR*, USHORT, SSHORT*, void*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/common.h:793: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] 793 | #define MOVE_CLEAR(to, length) memset(to, 0, (size_t) (length)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cvt.cpp:205:9: note: in expansion of macro 'MOVE_CLEAR' 205 | MOVE_CLEAR(&desc, sizeof(desc)); | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cvt.cpp: In function 'ISC_DATE CVT_get_sql_date(const dsc*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cvt.cpp:347: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] 347 | memset(&temp_desc, 0, sizeof(temp_desc)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'DSC' {aka 'struct dsc'} declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cvt.cpp: In function 'ISC_TIME CVT_get_sql_time(const dsc*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cvt.cpp:372: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] 372 | memset(&temp_desc, 0, sizeof(temp_desc)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'DSC' {aka 'struct dsc'} declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cvt.cpp: In function 'ISC_TIME_TZ CVT_get_sql_time_tz(const dsc*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cvt.cpp:397: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] 397 | memset(&temp_desc, 0, sizeof(temp_desc)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'DSC' {aka 'struct dsc'} declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cvt.cpp: In function 'ISC_TIMESTAMP CVT_get_timestamp(const dsc*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cvt.cpp:422: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] 422 | memset(&temp_desc, 0, sizeof(temp_desc)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'DSC' {aka 'struct dsc'} declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cvt.cpp: In function 'ISC_TIMESTAMP_TZ CVT_get_timestamp_tz(const dsc*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cvt.cpp:447: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] 447 | memset(&temp_desc, 0, sizeof(temp_desc)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/blb_proto.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cvt2.cpp:47: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cmp.cpp: In function 'Jrd::IndexLock* CMP_get_index_lock(Jrd::thread_db*, Jrd::jrd_rel*, USHORT)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cmp.cpp:292:19: warning: unused variable 'dbb' [-Wunused-variable] 292 | Database* dbb = tdbb->getDatabase(); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/firebird.h:63, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cvt2.cpp:28: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cvt2.cpp: In function 'int CVT2_compare(const dsc*, const dsc*, Firebird::DecimalStatus)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/common.h:793: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] 793 | #define MOVE_CLEAR(to, length) memset(to, 0, (size_t) (length)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cvt2.cpp:463:25: note: in expansion of macro 'MOVE_CLEAR' 463 | MOVE_CLEAR(&desc, sizeof(desc)); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/cmp.cpp:360:25: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'DSC' {aka 'struct dsc'} declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/common.h:793: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] 793 | #define MOVE_CLEAR(to, length) memset(to, 0, (size_t) (length)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cvt2.cpp:475:25: note: in expansion of macro 'MOVE_CLEAR' 475 | MOVE_CLEAR(&desc, sizeof(desc)); | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'DSC' {aka 'struct dsc'} declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/common.h:793: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] 793 | #define MOVE_CLEAR(to, length) memset(to, 0, (size_t) (length)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cvt2.cpp:488:25: note: in expansion of macro 'MOVE_CLEAR' 488 | MOVE_CLEAR(&desc, sizeof(desc)); | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'DSC' {aka 'struct dsc'} declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/common.h:793: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] 793 | #define MOVE_CLEAR(to, length) memset(to, 0, (size_t) (length)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cvt2.cpp:500:25: note: in expansion of macro 'MOVE_CLEAR' 500 | MOVE_CLEAR(&desc, sizeof(desc)); | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'DSC' {aka 'struct dsc'} declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/common.h:793: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] 793 | #define MOVE_CLEAR(to, length) memset(to, 0, (size_t) (length)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cvt2.cpp:512:25: note: in expansion of macro 'MOVE_CLEAR' 512 | MOVE_CLEAR(&desc, sizeof(desc)); | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'DSC' {aka 'struct dsc'} declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:188:8: note: 'struct Jrd::AccessItem' declared here 188 | struct AccessItem | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/cmp.cpp:502:27: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:239:8: note: 'struct Jrd::ExternalAccess' declared here 239 | struct ExternalAccess | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cvt2.cpp: In function 'USHORT CVT2_make_string2(const dsc*, USHORT, UCHAR**, Jrd::MoveBuffer&, Firebird::DecimalStatus)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/common.h:793: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] 793 | #define MOVE_CLEAR(to, length) memset(to, 0, (size_t) (length)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cvt2.cpp:951:9: note: in expansion of macro 'MOVE_CLEAR' 951 | MOVE_CLEAR(&temp_desc, sizeof(temp_desc)); | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/gpre_current -n -z -gds_cxx -ids /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/dfw.epp /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ gpre version LI-V4.0.3.2975 Firebird 4.0 /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/gpre_current -n -z -gds_cxx -ids /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/dpm.epp /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dpm.cpp /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cmp.cpp:233:19: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:552:16: note: 'struct Jrd::CompilerScratch::csb_repeat' declared here 552 | struct csb_repeat | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cmp.cpp:360:25: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:188:8: note: 'struct Jrd::AccessItem' declared here 188 | struct AccessItem | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cmp.cpp:502:27: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:239:8: note: 'struct Jrd::ExternalAccess' declared here 239 | struct ExternalAccess | ^~~~~~~~~~~~~~ gpre version LI-V4.0.3.2975 Firebird 4.0 /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/gpre_current -n -z -gds_cxx -ids /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/dyn_util.epp /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dyn_util.cpp /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../dsql/DdlNodes.h:2058:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ gpre version LI-V4.0.3.2975 Firebird 4.0 In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/err.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/err.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/blb_proto.h:32: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../jrd/../jrd/../common/TextType.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../jrd/../jrd/intl_classes.h:38, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/../jrd/../jrd/val.h:34: 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-4.0.3.2975-0/src/jrd/SysFunction.cpp:4588:27: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/SysFunction.cpp: In function 'dsc* {anonymous}::evlGetContext(Jrd::thread_db*, const SysFunction*, const Jrd::NestValueArray&, Jrd::impure_value*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/SysFunction.cpp:4583:73: note: unnamed temporary defined here 4583 | 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-4.0.3.2975-0/src/jrd/SysFunction.cpp:4585:20: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/SysFunction.cpp: In function 'dsc* {anonymous}::evlGetContext(Jrd::thread_db*, const SysFunction*, const Jrd::NestValueArray&, Jrd::impure_value*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/SysFunction.cpp:4583:73: note: unnamed temporary defined here 4583 | 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-4.0.3.2975-0/src/jrd/SysFunction.cpp:4597:27: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/SysFunction.cpp: In function 'dsc* {anonymous}::evlGetContext(Jrd::thread_db*, const SysFunction*, const Jrd::NestValueArray&, Jrd::impure_value*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/SysFunction.cpp:4592:72: note: unnamed temporary defined here 4592 | 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-4.0.3.2975-0/src/jrd/SysFunction.cpp:4594:20: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/SysFunction.cpp: In function 'dsc* {anonymous}::evlGetContext(Jrd::thread_db*, const SysFunction*, const Jrd::NestValueArray&, Jrd::impure_value*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/SysFunction.cpp:4592:72: note: unnamed temporary defined here 4592 | const MetaString& role = attachment->getSqlRole(); | ~~~~~~~~~~~~~~~~~~~~~~^~ 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-4.0.3.2975-0/src/jrd/SysFunction.cpp:4656:27: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/SysFunction.cpp: In function 'dsc* {anonymous}::evlGetContext(Jrd::thread_db*, const SysFunction*, const Jrd::NestValueArray&, Jrd::impure_value*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/SysFunction.cpp:4651:82: note: unnamed temporary defined here 4651 | 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-4.0.3.2975-0/src/jrd/SysFunction.cpp:4653:20: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/SysFunction.cpp: In function 'dsc* {anonymous}::evlGetContext(Jrd::thread_db*, const SysFunction*, const Jrd::NestValueArray&, Jrd::impure_value*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/SysFunction.cpp:4651:82: note: unnamed temporary defined here 4651 | const MetaString& user = attachment->getEffectiveUserName(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/event.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/event.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/evl.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/evl.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/btr.cpp: In function 'void compress(Jrd::thread_db*, const dsc*, Jrd::temporary_key*, USHORT, bool, bool, USHORT)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/btr.cpp:2538:87: warning: 'multiKeyLength' may be used uninitialized [-Wmaybe-uninitialized] 2538 | has_next = ptr + length < (UCHAR*) buffer.vary_string + multiKeyLength; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/btr.cpp:2487:16: note: 'multiKeyLength' was declared here 2487 | size_t multiKeyLength; | ^~~~~~~~~~~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/err.cpp:34: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ 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-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/jrd.h:694:16, inlined from 'void Jrd::BufferDesc::release(Jrd::thread_db*, bool)' at /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp:5265:21: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/jrd.h: In member function 'void Jrd::BufferDesc::release(Jrd::thread_db*, bool)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:690:27: note: 'pos' was declared here 690 | FB_SIZE_T pos; | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cvt2.cpp: In function 'int CVT2_blob_compare(const dsc*, const dsc*, Firebird::DecimalStatus)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cvt2.cpp:817:56: warning: 'l2' may be used uninitialized [-Wmaybe-uninitialized] 817 | ret_val = obj1->compare(l1, buffer1.begin(), l2, buffer2.begin()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cvt2.cpp:709:19: note: 'l2' was declared here 709 | SLONG l1, l2; | ^~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cvt2.cpp:817:56: warning: 'l1' may be used uninitialized [-Wmaybe-uninitialized] 817 | ret_val = obj1->compare(l1, buffer1.begin(), l2, buffer2.begin()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cvt2.cpp:709:15: note: 'l1' was declared here 709 | SLONG l1, l2; | ^~ 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-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/jrd.h:694:16, inlined from 'void Jrd::BufferDesc::unLockIO(Jrd::thread_db*)' at /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/cch.cpp:5305:23: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/jrd.h: In member function 'void Jrd::BufferDesc::unLockIO(Jrd::thread_db*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:690:27: note: 'pos' was declared here 690 | FB_SIZE_T pos; | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/cch.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/Database.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/event.cpp:43: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/classes/init.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/event.cpp:31: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/ods.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/exe.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/exe.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/Database.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/evl.cpp:66: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/err.cpp:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/Database.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/Database.h:61: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/ext.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/ext.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/event.cpp: In member function 'void Jrd::EventManager::init_shared_file()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/event.cpp:132:28: warning: unused variable 'tmp' [-Wunused-variable] 132 | SharedMemory* tmp = FB_NEW_POOL(*getDefaultMemoryPool()) | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/event.cpp: In member function 'SLONG Jrd::EventManager::queEvents(SLONG, USHORT, const UCHAR*, Firebird::IEventCallback*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/event.cpp:270:30: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 270 | if (interest = historical_interest(session, event_offset)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/config/config_file.h:28, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/config/config.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/event.cpp:32: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/event.cpp:40: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../common/classes/array.h:165:3: required from 'void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/filters.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/filters.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /usr/include/stdio.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/auto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/classes/VaryStr.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/exe.cpp:59: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/exe.cpp:61: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/evl.cpp:71: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/ext.cpp:41: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/stdio.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/auto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/classes/array.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/filters.cpp:25: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/flu.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/flu.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/gpre_current -n -z -gds_cxx -ids /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/fun.epp /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/fun.cpp gpre version LI-V4.0.3.2975 Firebird 4.0 /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/gpre_current -n -z -gds_cxx -ids /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/grant.epp /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/grant.cpp In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ gpre version LI-V4.0.3.2975 Firebird 4.0 In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/filters.cpp:28: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../dsql/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../dsql/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../dsql/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/idx.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/idx.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../dsql/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../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-4.0.3.2975-0/src/jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/exe.cpp:62: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../dsql/DdlNodes.h:2058:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | 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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/filters.cpp: In function 'ISC_STATUS filter_acl(USHORT, Jrd::BlobControl*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/filters.cpp:191:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 191 | while (c = *p++) | ~~^~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/filters.cpp: In function 'ISC_STATUS string_filter(USHORT, Jrd::BlobControl*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/filters.cpp:1317:31: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1317 | while (string = (filter_tmp*) control->ctl_data[0]) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/ext.cpp:42: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ In file included from /usr/include/stdio.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/auto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/config/config.h:26, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/flu.cpp:50: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/exe.cpp: In function 'void EXE_receive(Jrd::thread_db*, Jrd::jrd_req*, USHORT, ULONG, void*, bool)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/exe.cpp:673:20: warning: unused variable 'statement' [-Wunused-variable] 673 | const auto statement = request->getStatement(); | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../common/classes/array.h:165:3: required from 'void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/exe.cpp: In function 'void EXE_send(Jrd::thread_db*, Jrd::jrd_req*, USHORT, ULONG, const void*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/exe.cpp:827:29: warning: unused variable 'statement' [-Wunused-variable] 827 | const JrdStatement* statement = request->getStatement(); | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/exe.cpp: In function 'void EXE_start(Jrd::thread_db*, Jrd::jrd_req*, Jrd::jrd_tra*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/exe.cpp:890:24: warning: unused variable 'proc' [-Wunused-variable] 890 | const jrd_prc* proc = statement->procedure; | ^~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/exe.cpp: In function 'const Jrd::StmtNode* EXE_looper(Jrd::thread_db*, Jrd::jrd_req*, const Jrd::StmtNode*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/exe.cpp:1365:29: warning: unused variable 'statement' [-Wunused-variable] 1365 | const JrdStatement* statement = request->getStatement(); | ^~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/inf.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/inf.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/trace/../../jrd/trace/TraceObjects.h:391:16: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/idx.cpp:34: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../dsql/DdlNodes.h:2058:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/flu.cpp:54: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/inf.cpp:40: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/filters.cpp: In function 'ISC_STATUS filter_runtime(USHORT, Jrd::BlobControl*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/filters.cpp:540:58: warning: '%s' directive writing up to 254 bytes into a region of size 102 [-Wformat-overflow=] 473 | UCHAR* p = buff + 1; | ~ ...... 540 | sprintf(line, " field_generator_name: %s", p); | ^~ In file included from /usr/include/stdio.h:964: In function 'int sprintf(char*, const char*, ...)', inlined from 'ISC_STATUS filter_runtime(USHORT, Jrd::BlobControl*)' at /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/filters.cpp:540:10: /usr/include/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 27 and 281 bytes into a destination of size 128 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/filters.cpp: In function 'ISC_STATUS filter_runtime(USHORT, Jrd::BlobControl*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/filters.cpp:532:50: warning: '%s' directive writing up to 254 bytes into a region of size 110 [-Wformat-overflow=] 473 | UCHAR* p = buff + 1; | ~ ...... 532 | sprintf(line, " trigger_name: %s", p); | ^~ In function 'int sprintf(char*, const char*, ...)', inlined from 'ISC_STATUS filter_runtime(USHORT, Jrd::BlobControl*)' at /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/filters.cpp:532:10: /usr/include/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 19 and 273 bytes into a destination of size 128 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/filters.cpp: In function 'ISC_STATUS filter_runtime(USHORT, Jrd::BlobControl*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/filters.cpp:528:52: warning: '%s' directive writing up to 254 bytes into a region of size 108 [-Wformat-overflow=] 473 | UCHAR* p = buff + 1; | ~ ...... 528 | sprintf(line, " security_class: %s", p); | ^~ In function 'int sprintf(char*, const char*, ...)', inlined from 'ISC_STATUS filter_runtime(USHORT, Jrd::BlobControl*)' at /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/filters.cpp:528:10: /usr/include/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 21 and 275 bytes into a destination of size 128 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/filters.cpp: In function 'ISC_STATUS filter_runtime(USHORT, Jrd::BlobControl*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/filters.cpp:504:48: warning: '%s' directive writing up to 254 bytes into a region of size 112 [-Wformat-overflow=] 473 | UCHAR* p = buff + 1; | ~ ...... 504 | sprintf(line, " base_field: %s", p); | ^~ In function 'int sprintf(char*, const char*, ...)', inlined from 'ISC_STATUS filter_runtime(USHORT, Jrd::BlobControl*)' at /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/filters.cpp:504:10: /usr/include/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 17 and 271 bytes into a destination of size 128 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/filters.cpp: In function 'ISC_STATUS filter_runtime(USHORT, Jrd::BlobControl*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/filters.cpp:484:42: warning: '%s' directive writing up to 254 bytes into a region of size 118 [-Wformat-overflow=] 473 | UCHAR* p = buff + 1; | ~ ...... 484 | sprintf(line, " name: %s", p); | ^~ In function 'int sprintf(char*, const char*, ...)', inlined from 'ISC_STATUS filter_runtime(USHORT, Jrd::BlobControl*)' at /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/filters.cpp:484:10: /usr/include/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 11 and 265 bytes into a destination of size 128 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/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/gpre_current -n -z -gds_cxx -ids /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/ini.epp /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/ini.cpp gpre version LI-V4.0.3.2975 Firebird 4.0 In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/intl.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/intl.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/idx.cpp:37: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/config/config_file.h:28, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/config/config.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/intl_builtin.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/intl_builtin.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../common/classes/array.h:165:3: required from 'void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/firebird.h:63, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/idx.cpp:32: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/idx.cpp: In function 'void release_index_block(Jrd::thread_db*, Jrd::IndexBlock*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/common.h:793: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] 793 | #define MOVE_CLEAR(to, length) memset(to, 0, (size_t) (length)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/idx.cpp:1665:9: note: in expansion of macro 'MOVE_CLEAR' 1665 | MOVE_CLEAR(&index_block->idb_expression_desc, sizeof(dsc)); | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/jrd.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/jrd.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/exe.cpp:488:25: warning: 'minlen' may be used uninitialized [-Wmaybe-uninitialized] 488 | if (to_desc->dsc_length <= minlen) | ^~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/exe.cpp:473:32: note: 'minlen' was declared here 473 | USHORT minlen; | ^~~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/intl.cpp:96: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/lck.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/lck.o In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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++/12/cwchar:44, from /usr/include/c++/12/bits/postypes.h:40, from /usr/include/c++/12/iosfwd:40, from /usr/include/c++/12/bits/shared_ptr.h:52, from /usr/include/c++/12/memory:76, from /usr/include/unicode/localpointer.h:45, from /usr/include/unicode/uenum.h:25, from /usr/include/unicode/ucnv.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/unicode_util.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/intl_classes.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/intl_builtin.cpp:1: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/gpre_current -n -z -gds_cxx -ids /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/met.epp /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/met.cpp gpre version LI-V4.0.3.2975 Firebird 4.0 g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/mov.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/mov.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/inf.cpp:41: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/intl.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/intl_builtin.cpp:7: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/intl_builtin.cpp:11: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/classes/Hash.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/lck.cpp:31: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /usr/include/pwd.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/jrd.cpp:47: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/../common/IntlUtil.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/unicode_util.h:31: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ In file included from /usr/include/stdio.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/auto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/classes/VaryStr.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/mov.cpp:31: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/intl.cpp:97: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/lck.cpp:32: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/StatementMetadata.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/EngineInterface.h:28, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/jrd.cpp:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../dsql/DdlNodes.h:2058:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/jrd.cpp:52: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/mov.cpp:32: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/nbak.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/nbak.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../common/classes/array.h:165:3: required from 'void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | 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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/TextType.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/intl_classes.h:38, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:34: 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-4.0.3.2975-0/src/jrd/inf.cpp:938:30: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/inf.cpp: In function 'void INF_database_info(Jrd::thread_db*, ULONG, const UCHAR*, ULONG, UCHAR*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/inf.cpp:937:74: note: unnamed temporary defined here 937 | 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-4.0.3.2975-0/src/jrd/inf.cpp:938:62: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/inf.cpp: In function 'void INF_database_info(Jrd::thread_db*, ULONG, const UCHAR*, ULONG, UCHAR*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/inf.cpp:937:74: note: unnamed temporary defined here 937 | 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-4.0.3.2975-0/src/jrd/inf.cpp:946:30: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/inf.cpp: In function 'void INF_database_info(Jrd::thread_db*, ULONG, const UCHAR*, ULONG, UCHAR*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/inf.cpp:945:73: note: unnamed temporary defined here 945 | 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-4.0.3.2975-0/src/jrd/inf.cpp:946:62: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/inf.cpp: In function 'void INF_database_info(Jrd::thread_db*, ULONG, const UCHAR*, ULONG, UCHAR*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/inf.cpp:945:73: note: unnamed temporary defined here 945 | const MetaString& role = att->getSqlRole(); | ~~~~~~~~~~~~~~~^~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/nodebug.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/nodebug.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/jrd.cpp:55: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/ods.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/ods.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/blb_proto.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/mov.cpp:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/blb_proto.h:32: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/inf.cpp: In function 'void INF_transaction_info(const Jrd::jrd_tra*, ULONG, const UCHAR*, ULONG, UCHAR*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/inf.cpp:1286:42: warning: 'length' may be used uninitialized [-Wmaybe-uninitialized] 1286 | if (!(info = INF_put_item(item, length, buffer, info, end))) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/inf.cpp:1188:15: note: 'length' was declared here 1188 | ULONG length; | ^~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/lck.cpp: In function 'Jrd::lck_owner_t get_owner_type(Jrd::lck_t)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/lck.cpp:594:16: warning: 'owner_type' may be used uninitialized [-Wmaybe-uninitialized] 594 | return owner_type; | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/lck.cpp:547:21: note: 'owner_type' was declared here 547 | lck_owner_t owner_type; | ^~~~~~~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/nbak.cpp:32: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/opt.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/opt.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/lck.cpp: In function 'void LCK_init(Jrd::thread_db*, Jrd::lck_owner_t)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/lck.cpp:635:49: warning: 'owner_id' may be used uninitialized [-Wmaybe-uninitialized] 635 | if (!dbb->lockManager()->initializeOwner(&statusVector, owner_id, owner_type, owner_handle_ptr)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/lck.cpp:610:22: note: 'owner_id' was declared here 610 | LOCK_OWNER_T owner_id; | ^~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/pag.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/pag.o In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/ods.cpp:24: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/ods.cpp: In function 'ULONG Ods::maxIndices(ULONG)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/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])) / | ^ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/par.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/par.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/jrd.cpp: In member function 'virtual void Jrd::JAttachment::addRef()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/jrd.cpp:285:13: warning: unused variable 'v' [-Wunused-variable] 285 | int v = ++refCounter; | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/jrd.cpp: In constructor 'Jrd::DatabaseOptions::DatabaseOptions()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/jrd.cpp:1133: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] 1133 | memset(this, 0, reinterpret_cast(&this->dpb_user_name) - reinterpret_cast(this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/jrd.cpp:1053:15: note: 'class Jrd::DatabaseOptions' declared here 1053 | class DatabaseOptions | ^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/jrd.cpp: In function 'void check_database(Jrd::thread_db*, bool)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/jrd.cpp:6654:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 6654 | if ((attachment->att_flags & ATT_shutdown) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 6655 | (attachment->att_purge_tid != Thread::getId()) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/jrd.cpp: In function 'void init_database_lock(Jrd::thread_db*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/jrd.cpp:7507:32: warning: unused variable 'attachment' [-Wunused-variable] 7507 | Jrd::Attachment* const attachment = tdbb->getAttachment(); | ^~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/rlck.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/rlck.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/jrd.cpp: In function 'void purge_transactions(Jrd::thread_db*, Jrd::Attachment*, bool)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/jrd.cpp:8087:25: warning: unused variable 'dbb' [-Wunused-variable] 8087 | Database* const dbb = attachment->att_database; | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/jrd.cpp: In member function 'void Jrd::thread_db::reschedule()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/jrd.cpp:9146:19: warning: unused variable 'dbb' [-Wunused-variable] 9146 | Database* dbb = this->getDatabase(); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/ImplementHelper.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/EngineInterface.h:27: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/trace/TraceObjects.h:391:16: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/rpb_chain.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/rpb_chain.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../dsql/DdlNodes.h:2058:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/intl.cpp: In function 'void INTL_convert_string(dsc*, const dsc*, Firebird::Callbacks*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/intl.cpp:901:41: warning: 'to_fill' may be used uninitialized [-Wmaybe-uninitialized] 901 | if (to->dsc_dtype == dtype_text && to_fill > 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/intl.cpp:823:15: note: 'to_fill' was declared here 823 | ULONG to_fill; | ^~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/nbak.cpp: In constructor 'Jrd::BackupManager::StateWriteGuard::StateWriteGuard(Jrd::thread_db*, Jrd::WIN*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/nbak.cpp:166:32: warning: unused variable 'att' [-Wunused-variable] 166 | Jrd::Attachment* const att = tdbb->getAttachment(); | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/nbak.cpp: In destructor 'Jrd::BackupManager::StateWriteGuard::~StateWriteGuard()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/nbak.cpp:190:32: warning: unused variable 'att' [-Wunused-variable] 190 | Jrd::Attachment* const att = m_tdbb->getAttachment(); | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/nbak.cpp: In member function 'ULONG Jrd::BackupManager::getPageIndex(Jrd::thread_db*, ULONG)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/nbak.cpp:731:70: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 731 | if (diff_page || backup_state == Ods::hdr_nbak_merge && allocIsValid) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/config/config.h:26, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/pag.cpp:67: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/opt.cpp:47: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/par.cpp:42: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/intl.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/ini.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/rlck.cpp:28: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/pag.cpp:70: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /usr/include/stdio.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/auto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/array.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/rpb_chain.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/rpb_chain.cpp:24: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/gpre_current -n -z -gds_cxx -ids /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/scl.epp /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/scl.cpp gpre version LI-V4.0.3.2975 Firebird 4.0 In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/rpb_chain.h:30: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/Relation.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:36, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/rlck.cpp:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/sdw.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/sdw.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/pag.cpp:80: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | 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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | 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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | 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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/pag.cpp: In member function 'bool Jrd::PageSpace::extend(Jrd::thread_db*, ULONG, bool)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/pag.cpp:2405:76: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2405 | if (pageNum < maxPageNumber || MAX_EXTEND_BYTES < MIN_EXTEND_BYTES && !forceSize) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/opt.cpp:50: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/par.cpp:46: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/rpb_chain.h:31: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/config/config_file.h:28, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../common/config/config.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/classes/ImplementHelper.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/EngineInterface.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/blb.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/sdw.cpp:28: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/par.cpp:1193:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1193 | if (count || input_flag && procedure->getDefaultCount()) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/shut.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/shut.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../common/classes/array.h:165:3: required from 'void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/par.cpp:50: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../dsql/DdlNodes.h:2058:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/sort.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/sort.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../dsql/../dsql/DdlNodes.h:2058:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/shut.cpp:25: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/sdw.cpp:34: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/sdw.cpp: In function 'bool check_for_file(Jrd::thread_db*, const SCHAR*, USHORT)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/sdw.cpp:1248:19: warning: unused variable 'dbb' [-Wunused-variable] 1248 | Database* dbb = tdbb->getDatabase(); | ^~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/sqz.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/sqz.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/sort.cpp:34: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/stdio.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/auto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../include/../common/classes/alloc.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../include/fb_blk.h:4, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/sqz.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/sqz.cpp:26: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | 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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/sort.cpp:40: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/StatementMetadata.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/EngineInterface.h:28, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/blb.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/sqz.cpp:27: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/RecordSourceNodes.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/recsrc/RecordSource.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/Mapping.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/shut.cpp:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/Relation.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/recsrc/RecordSource.h:30: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/svc.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/svc.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/sqz.h:28: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen/../../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen/../../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen/../../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen/../../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/tpc.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/tpc.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/tra.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/tra.o In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/svc.cpp:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/validation.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/validation.o In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/tpc.cpp:25: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/tra.cpp:30: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/vio.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/vio.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | 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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/trace/../../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/trace/TraceObjects.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/svc.cpp:60: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/trace/../../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/trace/../../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/validation.cpp:546: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/trace/../../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/tpc.cpp:27: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/vio.cpp:47: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/tpc.cpp: In member function 'virtual bool Jrd::TipCache::SnapshotsInitializer::initialize(Firebird::SharedMemoryBase*, bool)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/tpc.cpp:89:68: warning: 'offsetof' within non-standard-layout type 'Jrd::TipCache::SnapshotList' is conditionally-supported [-Winvalid-offsetof] 89 | const ULONG dataSize = sm->sh_mem_length_mapped - offsetof(SnapshotList, slots[0]); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/tpc.cpp: In member function 'virtual bool Jrd::TipCache::MemBlockInitializer::initialize(Firebird::SharedMemoryBase*, bool)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/tpc.cpp:105:69: warning: 'offsetof' within non-standard-layout type 'Jrd::TipCache::TransactionStatusBlock' is conditionally-supported [-Winvalid-offsetof] 105 | memset(header->data, 0, sm->sh_mem_length_mapped - offsetof(TransactionStatusBlock, data[0])); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/tpc.cpp:105: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] 105 | memset(header->data, 0, sm->sh_mem_length_mapped - offsetof(TransactionStatusBlock, data[0])); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/fb_atomic.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:49: /usr/include/c++/12/atomic:939:12: note: 'struct std::atomic' declared here 939 | struct atomic : __atomic_base | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/tpc.cpp: In member function 'void Jrd::TipCache::initTransactionsPerBlock(ULONG)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/tpc.cpp:284:62: warning: 'offsetof' within non-standard-layout type 'Jrd::TipCache::TransactionStatusBlock' is conditionally-supported [-Winvalid-offsetof] 284 | const ULONG dataOffset = static_cast(offsetof(TransactionStatusBlock, data[0])); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/tra.cpp:31: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/tpc.cpp: In member function 'SnapshotHandle Jrd::TipCache::allocateSnapshotSlot()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/tpc.cpp:824:82: warning: 'offsetof' within non-standard-layout type 'Jrd::TipCache::SnapshotList' is conditionally-supported [-Winvalid-offsetof] 824 | static_cast((m_snapshots->sh_mem_length_mapped - offsetof(SnapshotList, slots[0])) / sizeof(SnapshotData)), | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/tpc.cpp: In member function 'void Jrd::TipCache::remapSnapshots(bool)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/tpc.cpp:848:63: warning: 'offsetof' within non-standard-layout type 'Jrd::TipCache::SnapshotList' is conditionally-supported [-Winvalid-offsetof] 848 | (m_snapshots->sh_mem_length_mapped - offsetof(SnapshotList, slots[0])) / sizeof(SnapshotData)) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/tpc.cpp:859:50: warning: 'offsetof' within non-standard-layout type 'Jrd::TipCache::SnapshotList' is conditionally-supported [-Winvalid-offsetof] 859 | offsetof(SnapshotList, slots[0])), false)) | ^ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/os/posix/unix.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/os/posix/unix.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/trace/TraceObjects.h:391:16: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/validation.cpp:554: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/AggNodes.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/AggNodes.o In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/trace/../../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/trace/../../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/trace/../../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/trace/../../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/vio.cpp:49: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/tra.cpp: In member function 'void Jrd::TraceSweepEvent::report(ntrace_process_state_t)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/tra.cpp:4263:19: warning: unused variable 'dbb' [-Wunused-variable] 4263 | Database* dbb = m_tdbb->getDatabase(); | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/tra.cpp:4272:18: warning: unused variable 'tran' [-Wunused-variable] 4272 | jrd_tra* tran = m_tdbb->getTransaction(); | ^~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/vio.cpp: In function 'void check_gbak_cheating_delete(Jrd::thread_db*, const Jrd::jrd_rel*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/vio.cpp:241:30: warning: unused variable 'transaction' [-Wunused-variable] 241 | const jrd_tra* const transaction = tdbb->getTransaction(); | ^~~~~~~~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/os/posix/unix.cpp:61: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/trace/../../jrd/trace/TraceObjects.h:391:16: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/vio.cpp: In function 'bool VIO_get_current(Jrd::thread_db*, Jrd::record_param*, Jrd::jrd_tra*, Firebird::MemoryPool*, bool, bool&)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/vio.cpp:2540:27: warning: unused variable 'attachment' [-Wunused-variable] 2540 | Attachment* const attachment = tdbb->getAttachment(); | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/vio.cpp:3072:63: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3072 | if (rc1 != rc2 || rc1 && MOV_compare(tdbb, &desc3, &desc4)) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/vio.cpp: In function 'void list_staying_fast(Jrd::thread_db*, Jrd::record_param*, Jrd::RecordStack&, Jrd::record_param*, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/vio.cpp:5215:23: warning: unused variable 'page' [-Wunused-variable] 5215 | ULONG page = temp.rpb_page = temp.rpb_b_page; | ^~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/vio.cpp:5216:24: warning: unused variable 'line' [-Wunused-variable] 5216 | USHORT line = temp.rpb_line = temp.rpb_b_line; | ^~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/vio.cpp:5211:25: warning: unused variable 'oldest_active' [-Wunused-variable] 5211 | const TraNumber oldest_active = tdbb->getTransaction()->tra_oldest_active; | ^~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/vio.cpp: In function 'int 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-4.0.3.2975-0/src/jrd/vio.cpp:5767:67: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 5767 | (rpb->rpb_flags & rpb_incomplete) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 5768 | (rpb->rpb_f_page != org_rpb.rpb_f_page || rpb->rpb_f_line != org_rpb.rpb_f_line)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/vio.cpp:5550:27: warning: unused variable 'attachment' [-Wunused-variable] 5550 | Attachment* const attachment = tdbb->getAttachment(); | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/trace/../../jrd/trace/TraceObjects.h:391:16: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/AggNodes.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/AggNodes.cpp:22: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/vio.cpp: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/vio.cpp:179:13: warning: 'bool assert_gc_enabled(const Jrd::jrd_tra*, const Jrd::jrd_rel*)' defined but not used [-Wunused-function] 179 | static bool assert_gc_enabled(const jrd_tra* transaction, const jrd_rel* relation) | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/os/posix/unix.cpp: In function 'void PIO_force_write(Jrd::jrd_file*, bool, bool)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/os/posix/unix.cpp:433:27: warning: unused variable 'control' [-Wunused-variable] 433 | const int control = (forcedWrites ? SYNC : 0) | (notUseFSCache ? O_DIRECT : 0); | ^~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/AggNodes.cpp:27: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/../common/TextType.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/../jrd/intl_classes.h:38, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/../jrd/../jrd/val.h:34: 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-4.0.3.2975-0/src/jrd/vio.cpp:6224:75: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/vio.cpp: In function 'void set_owner_name(Jrd::thread_db*, Jrd::Record*, USHORT)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/vio.cpp:6219:74: note: unnamed temporary defined here 6219 | 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-4.0.3.2975-0/src/jrd/vio.cpp:6221:19: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/vio.cpp: In function 'void set_owner_name(Jrd::thread_db*, Jrd::Record*, USHORT)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/vio.cpp:6219:74: note: unnamed temporary defined here 6219 | const MetaString& name = attachment->getEffectiveUserName(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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-4.0.3.2975-0/src/jrd/vio.cpp:4345:75: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/vio.cpp:4341:74: note: unnamed temporary defined here 4341 | 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-4.0.3.2975-0/src/jrd/vio.cpp:4343:19: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/vio.cpp:4341:74: note: unnamed temporary defined here 4341 | const MetaString& name = attachment->getEffectiveUserName(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/AggNodes.cpp: In member function 'virtual bool Jrd::RegrCountAggNode::aggPass(Jrd::thread_db*, Jrd::jrd_req*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/AggNodes.cpp:2240:14: warning: unused variable 'desc' [-Wunused-variable] 2240 | dsc* desc = EVL_expr(tdbb, request, arg); | ^~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/AggNodes.cpp:2244:14: warning: unused variable 'desc2' [-Wunused-variable] 2244 | dsc* desc2 = EVL_expr(tdbb, request, arg2); | ^~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/BlrDebugWriter.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/BlrDebugWriter.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/tra.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/AggNodes.cpp:28: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/BlrDebugWriter.cpp:26: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/BoolNodes.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/BoolNodes.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/DSqlDataTypeUtil.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/DSqlDataTypeUtil.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../common/classes/stack.h:488:26, inlined from 'void VIO_intermediate_gc(Jrd::thread_db*, Jrd::record_param*, Jrd::jrd_tra*)' at /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/vio.cpp:2183:41: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:33: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../common/classes/vector.h:166:11: note: while referencing 'Firebird::Vector::data' 166 | T data[Capacity]; | ^~~~ In file included from /usr/include/stdio.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/auto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../common/classes/VaryStr.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/BoolNodes.cpp:22: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/BlrDebugWriter.cpp:27: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/DataTypeUtil.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/DSqlDataTypeUtil.h:28, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/DSqlDataTypeUtil.cpp:26: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/BoolNodes.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/BoolNodes.cpp:23: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/DsqlCompilerScratch.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/DSqlDataTypeUtil.cpp:27: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/DdlNodes.h:2058:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/gpre_current -n -z -gds_cxx -ids /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/DdlNodes.epp /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ gpre version LI-V4.0.3.2975 Firebird 4.0 In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/BoolNodes.cpp:28: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/DsqlBatch.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/DsqlBatch.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/DataTypeUtil.h:32: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/DsqlCompilerScratch.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/DsqlCompilerScratch.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/BoolNodes.cpp: In member function 'bool Jrd::ComparativeBoolNode::stringBoolean(Jrd::thread_db*, Jrd::jrd_req*, dsc*, dsc*, bool) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/BoolNodes.cpp:941:53: warning: comparison of integer expressions of different signedness: 'ULONG' {aka 'unsigned int'} and 'SLONG' {aka 'int'} [-Wsign-compare] 941 | if (cache && cache->keySize < patternLen + escapeLen) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/DsqlCursor.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/DsqlCursor.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/DdlNodes.h:2058:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/TempSpace.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/DsqlBatch.h:26, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/DsqlBatch.cpp:25: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../common/../common/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../common/../common/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../common/../common/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../common/../common/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/DsqlCompilerScratch.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/DsqlCompilerScratch.cpp:22: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/ExprNodes.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/ExprNodes.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/vio.cpp: In function 'bool VIO_erase(Jrd::thread_db*, Jrd::record_param*, Jrd::jrd_tra*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/vio.cpp:1857:45: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=] 1857 | if (grantor != currentUser) | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/vio.cpp:1855:88: note: unnamed temporary defined here 1855 | const MetaString& currentUser = attachment->getUserName(); | ~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../common/../common/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../common/../common/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../common/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../common/StatementMetadata.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/EngineInterface.h:28, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/DsqlBatch.cpp:27: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/DsqlBatch.cpp:28: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/BoolNodes.cpp: In member function 'virtual bool Jrd::RseBoolNode::execute(Jrd::thread_db*, Jrd::jrd_req*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/BoolNodes.cpp:1677:44: warning: 'impure' may be used uninitialized [-Wmaybe-uninitialized] 1677 | impure->vlu_misc.vlu_short = value ? TRUE : FALSE; /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/BoolNodes.cpp:1618:23: note: 'impure' was declared here 1618 | impure_value* impure; | ^~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/BoolNodes.cpp:1672:17: warning: 'invariant_flags' may be used uninitialized [-Wmaybe-uninitialized] 1672 | *invariant_flags |= VLU_computed; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/BoolNodes.cpp:1617:17: note: 'invariant_flags' was declared here 1617 | USHORT* invariant_flags; | ^~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/auto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../include/../common/classes/alloc.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../include/fb_blk.h:4, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/tra.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/tra_proto.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/DsqlCursor.cpp:24: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/cmp_proto.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/exe_proto.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/DsqlBatch.cpp:30: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/DsqlBatch.cpp: In member function 'void Jrd::DsqlBatch::DataCache::put3(const void*, ULONG, ULONG)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/DsqlBatch.cpp:815:33: warning: unused variable 'writtenBytes' [-Wunused-variable] 815 | const FB_UINT64 writtenBytes = m_space->write(offset, data, dataSize); | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/DsqlBatch.cpp: In member function 'void Jrd::DsqlBatch::DataCache::put(const void*, ULONG)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/DsqlBatch.cpp:858:41: warning: unused variable 'writtenBytes' [-Wunused-variable] 858 | const FB_UINT64 writtenBytes = m_space->write(m_used, data, dataSize); | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/DsqlBatch.cpp:850:33: warning: unused variable 'writtenBytes' [-Wunused-variable] 850 | const FB_UINT64 writtenBytes = m_space->write(m_used, m_cache.begin(), m_cache.getCount()); | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/DsqlBatch.cpp: In member function 'void Jrd::DsqlBatch::DataCache::done()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/DsqlBatch.cpp:885:33: warning: unused variable 'writtenBytes' [-Wunused-variable] 885 | const FB_UINT64 writtenBytes = m_space->write(m_used, m_cache.begin(), m_cache.getCount()); | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/DsqlBatch.cpp: In member function 'ULONG Jrd::DsqlBatch::DataCache::get(UCHAR**)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/DsqlBatch.cpp:903:33: warning: unused variable 'readBytes' [-Wunused-variable] 903 | const FB_UINT64 readBytes = m_space->read(m_got, buf, delta); | ^~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../common/StatementMetadata.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/EngineInterface.h:28, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../jrd/blb.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/exe.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/tra.h:38: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/TempSpace.h:28: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../common/../common/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../common/classes/BatchCompletionState.h:65:12: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/config/config_file.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/config/dir_list.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/TempSpace.h:30: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/fb_pair.h:107:16: note: 'struct Firebird::Pair >' declared here 107 | struct Pair : public BasePair | ^~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../jrd/Relation.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/exe.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/BoolNodes.cpp: In member function 'virtual bool Jrd::ComparativeBoolNode::execute(Jrd::thread_db*, Jrd::jrd_req*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/BoolNodes.cpp:803:48: warning: 'comparison' may be used uninitialized [-Wmaybe-uninitialized] 803 | return comparison >= 0 && MOV_compare(tdbb, desc[0], desc[1]) <= 0; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/BoolNodes.cpp:753:13: note: 'comparison' was declared here 753 | int comparison; // while the two switch() below are in sync, no need to initialize | ^~~~~~~~~~ In file included from /usr/include/wchar.h:35, from /usr/include/c++/12/cwchar:44, from /usr/include/c++/12/bits/postypes.h:40, from /usr/include/c++/12/iosfwd:40, from /usr/include/c++/12/bits/shared_ptr.h:52, from /usr/include/c++/12/memory:76, from /usr/include/unicode/localpointer.h:45, from /usr/include/unicode/uenum.h:25, from /usr/include/unicode/ucnv.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../common/../common/unicode_util.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../common/TimeZoneUtil.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/ExprNodes.cpp:25: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/RecordSourceNodes.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/DsqlCompilerScratch.cpp:28: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/gpre_current -n -z -gds_cxx -ids /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/PackageNodes.epp /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/PackageNodes.cpp gpre version LI-V4.0.3.2975 Firebird 4.0 In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/ExprNodes.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/ExprNodes.cpp:28: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/Parser.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/Parser.o In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/DsqlCursor.cpp: In member function 'int Jrd::DsqlCursor::fetchFromCache(Jrd::thread_db*, UCHAR*, FB_UINT64)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/DsqlCursor.cpp:229:25: warning: unused variable 'readBytes' [-Wunused-variable] 229 | const FB_UINT64 readBytes = m_space.read(offset, msgBuffer, m_message->msg_length); | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/DsqlCursor.cpp: In member function 'bool Jrd::DsqlCursor::cacheInput(Jrd::thread_db*, FB_UINT64)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/DsqlCursor.cpp:257:41: warning: unused variable 'writtenBytes' [-Wunused-variable] 257 | const FB_UINT64 writtenBytes = m_space.write(offset, msgBuffer, m_message->msg_length); | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/DdlNodes.h:2058:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../common/classes/ImplementHelper.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/EngineInterface.h:27: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../jrd/trace/../../jrd/trace/TraceObjects.h:391:16: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../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-4.0.3.2975-0/src/dsql/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/ExprNodes.cpp:33: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../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-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/StmtNodes.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../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-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/WinNodes.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/WinNodes.o In file included from /usr/include/stdio.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/auto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../common/classes/array.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/dsql.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/Parser.h:26, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/Parser.cpp:26: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/ExprNodes.cpp: In member function 'dsc* Jrd::ArithmeticNode::addSqlTime(Jrd::thread_db*, const dsc*, Jrd::impure_value*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/ExprNodes.cpp:2688:27: warning: unused variable 'attachment' [-Wunused-variable] 2688 | Attachment* const attachment = tdbb->getAttachment(); | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/ExprNodes.cpp: In member function 'void Jrd::LiteralNode::fixMinSInt64(Firebird::MemoryPool&)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/ExprNodes.cpp:7936:22: warning: unused variable 's' [-Wunused-variable] 7936 | const UCHAR* s = litDesc.dsc_address; | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/ExprNodes.cpp: In member function 'void Jrd::LiteralNode::fixMinSInt128(Firebird::MemoryPool&)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/ExprNodes.cpp:7974:22: warning: unused variable 's' [-Wunused-variable] 7974 | const UCHAR* s = litDesc.dsc_address; | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/ExprNodes.cpp: In member function 'virtual Jrd::ValueExprNode* Jrd::RecordKeyNode::dsqlPass(Jrd::DsqlCompilerScratch*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/ExprNodes.cpp:9859:59: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 9859 | !rlxAlias && context->ctx_internal_alias.hasData()) && | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/ExprNodes.cpp:9805:20: warning: unused variable 'tdbb' [-Wunused-variable] 9805 | thread_db* tdbb = JRD_get_thread_data(); | ^~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/ExprNodes.cpp: In member function 'virtual dsc* Jrd::SubstringSimilarNode::execute(Jrd::thread_db*, Jrd::jrd_req*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/ExprNodes.cpp:11983:53: warning: comparison of integer expressions of different signedness: 'ULONG' {aka 'unsigned int'} and 'int' [-Wsign-compare] 11983 | if (cache && cache->keySize < patternLen + escapeLen) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/ExprNodes.cpp: In member function 'virtual dsc* Jrd::UdfCallNode::execute(Jrd::thread_db*, Jrd::jrd_req*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/ExprNodes.cpp:12984:34: warning: unused variable 'attachment' [-Wunused-variable] 12984 | Jrd::Attachment* attachment = tdbb->getAttachment(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../common/../common/../common/IntlUtil.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../common/../common/unicode_util.h:31: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../jrd/trace/TraceObjects.h:391:16: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../common/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../common/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/StatementMetadata.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/EngineInterface.h:28, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/dsql.h:43: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/ExprNodes.cpp:12856:29: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../jrd/../jrd/exe.h:239:8: note: 'struct Jrd::ExternalAccess' declared here 239 | struct ExternalAccess | ^~~~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/ddl.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/ddl.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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 /usr/include/wchar.h:35, from /usr/include/c++/12/cwchar:44, from /usr/include/c++/12/bits/postypes.h:40, from /usr/include/c++/12/iosfwd:40, from /usr/include/c++/12/bits/shared_ptr.h:52, from /usr/include/c++/12/memory:76, from /usr/include/unicode/localpointer.h:45, from /usr/include/unicode/uenum.h:25, from /usr/include/unicode/ucnv.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../common/../common/unicode_util.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../common/TimeZoneUtil.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:23: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/WinNodes.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/WinNodes.cpp:24: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/ExprNodes.cpp:12856:29: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/exe.h:239:8: note: 'struct Jrd::ExternalAccess' declared here 239 | struct ExternalAccess | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/DdlNodes.h:2058:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../dsql/dsql.h:46: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/Attachment.h:40, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/dsql.h:47: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/BoolNodes.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:27: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../dsql/../jrd/jrd.h:89, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/DdlNodes.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/Parser.h:27: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/MetaName.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/SysFunction.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/ddl.cpp:75: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../dsql/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../dsql/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../dsql/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../dsql/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | 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-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../dsql/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../dsql/../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../dsql/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/SysFunction.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/dsql.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../dsql/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../dsql/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../dsql/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../dsql/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../dsql/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/cmp_proto.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/WinNodes.cpp:27: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/RecordSourceNodes.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/Parser.h:34: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/WinNodes.cpp: In member function 'virtual dsc* Jrd::PercentRankWinNode::winPass(Jrd::thread_db*, Jrd::jrd_req*, Jrd::SlidingWindow*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/WinNodes.cpp:259:26: warning: unused variable 'impure' [-Wunused-variable] 259 | impure_value_ex* impure = request->getImpure(impureOffset); | ^~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/WinNodes.cpp: In member function 'virtual dsc* Jrd::FirstValueWinNode::winPass(Jrd::thread_db*, Jrd::jrd_req*, Jrd::SlidingWindow*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/WinNodes.cpp:436:26: warning: unused variable 'impure' [-Wunused-variable] 436 | impure_value_ex* impure = request->getImpure(impureOffset); | ^~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/WinNodes.cpp: In member function 'virtual dsc* Jrd::LastValueWinNode::winPass(Jrd::thread_db*, Jrd::jrd_req*, Jrd::SlidingWindow*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/WinNodes.cpp:499:26: warning: unused variable 'impure' [-Wunused-variable] 499 | impure_value_ex* impure = request->getImpure(impureOffset); | ^~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/WinNodes.cpp: In member function 'virtual dsc* Jrd::NthValueWinNode::winPass(Jrd::thread_db*, Jrd::jrd_req*, Jrd::SlidingWindow*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/WinNodes.cpp:576:26: warning: unused variable 'impure' [-Wunused-variable] 576 | impure_value_ex* impure = request->getImpure(impureOffset); | ^~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../dsql/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:33: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../jrd/RecordSourceNodes.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/ddl.cpp:81: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../dsql/dsql.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/DataTypeUtil.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/SysFunction.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../dsql/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../dsql/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../dsql/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../jrd/../dsql/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../dsql/dsql.h:42: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../dsql/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../jrd/../dsql/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../dsql/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp: In member function 'virtual Jrd::DeclareSubProcNode* Jrd::DeclareSubProcNode::dsqlPass(Jrd::DsqlCompilerScratch*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:2024:40: warning: unused variable 'paramIndex' [-Wunused-variable] 2024 | const unsigned paramIndex = i - paramArray.begin(); | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp: In member function 'virtual Jrd::StmtNode* Jrd::EraseNode::dsqlPass(Jrd::DsqlCompilerScratch*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:2279:20: warning: unused variable 'tdbb' [-Wunused-variable] 2279 | thread_db* tdbb = JRD_get_thread_data(); //necessary? | ^~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/DdlNodes.h:2058:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../common/classes/array.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/dsql.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp: In member function 'Jrd::StmtNode* Jrd::ModifyNode::internalDsqlPass(Jrd::DsqlCompilerScratch*, bool)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:6162:20: warning: unused variable 'tdbb' [-Wunused-variable] 6162 | thread_db* tdbb = JRD_get_thread_data(); // necessary? | ^~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp: In member function 'Jrd::StmtNode* Jrd::StoreNode::internalDsqlPass(Jrd::DsqlCompilerScratch*, bool, bool&)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:7052:20: warning: unused variable 'tdbb' [-Wunused-variable] 7052 | thread_db* tdbb = JRD_get_thread_data(); // necessary? | ^~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/StmtNodes.cpp:8378:20: warning: unused variable 'blrOp' [-Wunused-variable] 8378 | const auto blrOp = csb->csb_blr_reader.getByte(); | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp: In member function 'virtual Jrd::StmtNode* Jrd::UpdateOrInsertNode::dsqlPass(Jrd::DsqlCompilerScratch*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:8811:20: warning: unused variable 'tdbb' [-Wunused-variable] 8811 | thread_db* tdbb = JRD_get_thread_data(); // necessary? | ^~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp: In function 'Jrd::VariableNode* Jrd::dsqlPassHiddenVariable(DsqlCompilerScratch*, ValueExprNode*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_AGGREGATE' not handled in switch [-Wswitch] 9480 | switch (expr->getType()) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_ALIAS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_ARITHMETIC' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_ARRAY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_AT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_BOOL_AS_VALUE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_CAST' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_COALESCE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_COLLATE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_CONCATENATE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_DERIVED_EXPR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_DECODE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_DEFAULT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_DERIVED_FIELD' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_DOMAIN_VALIDATION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_EXTRACT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_GEN_ID' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_LOCAL_TIME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_LOCAL_TIMESTAMP' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_MAP' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_NEGATE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_ORDER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_OVER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_SCALAR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_STMT_EXPR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_STR_CASE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_STR_LEN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_SUBQUERY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_SUBSTRING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_SUBSTRING_SIMILAR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_SYSFUNC_CALL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_TRIM' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_UDF_CALL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_VALUE_IF' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_WINDOW_CLAUSE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_WINDOW_CLAUSE_FRAME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_WINDOW_CLAUSE_FRAME_EXTENT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_BINARY_BOOL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_COMPARATIVE_BOOL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_MISSING_BOOL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_NOT_BOOL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_RSE_BOOL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_AGGREGATE_SOURCE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_PROCEDURE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_RELATION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_RSE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_SELECT_EXPR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_UNION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_WINDOW' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_REC_SOURCE_LIST' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9480:16: warning: enumeration value 'TYPE_VALUE_LIST' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp: In function 'void Jrd::dsqlSetParameterName(DsqlCompilerScratch*, ExprNode*, const ValueExprNode*, const dsql_rel*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_AGGREGATE' not handled in switch [-Wswitch] 9709 | switch (exprNode->getType()) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_ALIAS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_ARRAY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_AT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_BOOL_AS_VALUE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_CAST' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_COALESCE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_COLLATE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_CURRENT_DATE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_CURRENT_TIME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_CURRENT_TIMESTAMP' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_CURRENT_ROLE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_CURRENT_USER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_DERIVED_EXPR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_DECODE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_DEFAULT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_DERIVED_FIELD' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_DOMAIN_VALIDATION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_FIELD' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_GEN_ID' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_INTERNAL_INFO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_LITERAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_LOCAL_TIME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_LOCAL_TIMESTAMP' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_MAP' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_NULL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_ORDER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_OVER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_RECORD_KEY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_SCALAR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_STMT_EXPR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_SUBQUERY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_SYSFUNC_CALL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_UDF_CALL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_VALUE_IF' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_VARIABLE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_WINDOW_CLAUSE' not handled in switch [-Wswitch] g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/errd.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/errd.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_WINDOW_CLAUSE_FRAME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_WINDOW_CLAUSE_FRAME_EXTENT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_BINARY_BOOL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_COMPARATIVE_BOOL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_MISSING_BOOL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_NOT_BOOL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_RSE_BOOL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_AGGREGATE_SOURCE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_PROCEDURE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_RELATION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_RSE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_SELECT_EXPR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_UNION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_WINDOW' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_REC_SOURCE_LIST' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:9709:16: warning: enumeration value 'TYPE_VALUE_LIST' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/DdlNodes.h:2058:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../common/../common/../common/IntlUtil.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../common/../common/unicode_util.h:31: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../jrd/trace/../../jrd/trace/TraceObjects.h:391:16: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/StmtNodes.cpp:10082:27: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../jrd/../jrd/exe.h:239:8: note: 'struct Jrd::ExternalAccess' declared here 239 | struct ExternalAccess | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/gen.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/gen.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/StatementMetadata.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/EngineInterface.h:28, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/dsql.h:43: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:1570:19: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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 /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:5757:39: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:10082:27: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/exe.h:239:8: note: 'struct Jrd::ExternalAccess' declared here 239 | struct ExternalAccess | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/DdlNodes.h:2058:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/dsql.h:46: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/Attachment.h:40, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/dsql.h:47: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../common/classes/array.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/dsql.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/errd.cpp:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/jrd.h:89, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:44: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/StatementMetadata.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/EngineInterface.h:28, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/dsql.h:43: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../common/classes/array.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/dsql.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/gen.cpp:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/dsql.h:46: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/Attachment.h:40, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/dsql.h:47: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/RecordSourceNodes.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/Parser.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:47: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/make.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/make.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/StatementMetadata.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/EngineInterface.h:28, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/dsql.h:43: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/jrd.h:89, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/errd.cpp:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/dsql.h:46: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp: In function 'bool reqTypeWithCursor(Jrd::DsqlCompiledStatement::Type)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:96:16: warning: enumeration value 'TYPE_INSERT' not handled in switch [-Wswitch] 96 | switch (type) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:96:16: warning: enumeration value 'TYPE_DELETE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:96:16: warning: enumeration value 'TYPE_UPDATE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:96:16: warning: enumeration value 'TYPE_UPDATE_CURSOR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:96:16: warning: enumeration value 'TYPE_DELETE_CURSOR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:96:16: warning: enumeration value 'TYPE_COMMIT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:96:16: warning: enumeration value 'TYPE_ROLLBACK' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:96:16: warning: enumeration value 'TYPE_CREATE_DB' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:96:16: warning: enumeration value 'TYPE_DDL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:96:16: warning: enumeration value 'TYPE_START_TRANS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:96:16: warning: enumeration value 'TYPE_EXEC_PROCEDURE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:96:16: warning: enumeration value 'TYPE_COMMIT_RETAIN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:96:16: warning: enumeration value 'TYPE_ROLLBACK_RETAIN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:96:16: warning: enumeration value 'TYPE_SET_GENERATOR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:96:16: warning: enumeration value 'TYPE_SAVEPOINT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:96:16: warning: enumeration value 'TYPE_EXEC_BLOCK' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:96:16: warning: enumeration value 'TYPE_SESSION_MANAGEMENT' not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/Attachment.h:40, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/dsql.h:47: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp: In member function 'void Jrd::DsqlDmlRequest::doExecute(Jrd::thread_db*, Jrd::jrd_tra**, Firebird::IMessageMetadata*, UCHAR*, bool)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:812:16: warning: enumeration value 'TYPE_SELECT' not handled in switch [-Wswitch] 812 | switch (statement->getType()) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:812:16: warning: enumeration value 'TYPE_SELECT_UPD' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:812:16: warning: enumeration value 'TYPE_INSERT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:812:16: warning: enumeration value 'TYPE_DELETE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:812:16: warning: enumeration value 'TYPE_UPDATE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:812:16: warning: enumeration value 'TYPE_COMMIT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:812:16: warning: enumeration value 'TYPE_ROLLBACK' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:812:16: warning: enumeration value 'TYPE_CREATE_DB' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:812:16: warning: enumeration value 'TYPE_DDL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:812:16: warning: enumeration value 'TYPE_START_TRANS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:812:16: warning: enumeration value 'TYPE_EXEC_PROCEDURE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:812:16: warning: enumeration value 'TYPE_COMMIT_RETAIN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:812:16: warning: enumeration value 'TYPE_ROLLBACK_RETAIN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:812:16: warning: enumeration value 'TYPE_SET_GENERATOR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:812:16: warning: enumeration value 'TYPE_SAVEPOINT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:812:16: warning: enumeration value 'TYPE_EXEC_BLOCK' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:812:16: warning: enumeration value 'TYPE_SELECT_BLOCK' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:812:16: warning: enumeration value 'TYPE_SESSION_MANAGEMENT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/dsql.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp: In member function 'Jrd::TimeoutTimer* Jrd::dsql_req::setupTimer(Jrd::thread_db*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:1861:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1861 | if (!timeOut || attTout && attTout < timeOut) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp: In function 'void sql_info(Jrd::thread_db*, Jrd::dsql_req*, ULONG, const UCHAR*, ULONG, UCHAR*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:2065:32: warning: enumeration value 'TYPE_INSERT' not handled in switch [-Wswitch] 2065 | switch (statement->getType()) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:2065:32: warning: enumeration value 'TYPE_DELETE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:2065:32: warning: enumeration value 'TYPE_UPDATE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:2065:32: warning: enumeration value 'TYPE_UPDATE_CURSOR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:2065:32: warning: enumeration value 'TYPE_DELETE_CURSOR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:2065:32: warning: enumeration value 'TYPE_COMMIT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:2065:32: warning: enumeration value 'TYPE_ROLLBACK' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:2065:32: warning: enumeration value 'TYPE_START_TRANS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:2065:32: warning: enumeration value 'TYPE_EXEC_PROCEDURE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:2065:32: warning: enumeration value 'TYPE_COMMIT_RETAIN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:2065:32: warning: enumeration value 'TYPE_ROLLBACK_RETAIN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:2065:32: warning: enumeration value 'TYPE_SET_GENERATOR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:2065:32: warning: enumeration value 'TYPE_SAVEPOINT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:2065:32: warning: enumeration value 'TYPE_EXEC_BLOCK' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:2065:32: warning: enumeration value 'TYPE_SESSION_MANAGEMENT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../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-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/jrd.h:89, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/DdlNodes.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/gen.cpp:40: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../jrd/trace/../../jrd/trace/TraceObjects.h:391:16: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/dsql.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/dsql.h:42: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/RecordSourceNodes.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/gen.cpp:44: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/gpre_current -n -z -gds_cxx -ids /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/metd.epp /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/metd.cpp gpre version LI-V4.0.3.2975 Firebird 4.0 /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/movd.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/movd.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../jrd/blb_proto.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/dsql.cpp:57: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/gen.cpp: In function 'void GEN_sort(Jrd::DsqlCompilerScratch*, UCHAR, Jrd::ValueListNode*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/gen.cpp:630:32: warning: enumeration value 'NULLS_DEFAULT' not handled in switch [-Wswitch] 630 | switch (orderNode->nullsPlacement) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../common/classes/array.h:376:6: required from 'void Firebird::Array::push(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/DdlNodes.h:2058:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ sed -n '/%type .*/p' < /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/parse.y > /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/types.y sed 's/%type .*//' < /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/parse.y > /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/y.y In file included from /usr/include/stdio.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/auto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../common/classes/array.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/dsql.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/make.cpp:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/dsql.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ (/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/btyacc/btyacc -l -d -S /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/btyacc_fb.ske /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/y.y; echo $? > /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/y.status) 2>&1 | tee /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/y.txt /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/dsql.h:42: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../common/classes/array.h:376:6: required from 'void Firebird::Array::push(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/DdlNodes.h:2058:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ In file included from /usr/include/stdio.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/auto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../common/classes/array.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/dsql.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/movd.cpp:25: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/StatementMetadata.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/EngineInterface.h:28, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/dsql.h:43: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/btyacc/btyacc: 61 shift/reduce conflicts, 17 reduce/reduce conflicts. In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/dsql.h:46: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/Attachment.h:40, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/dsql.h:47: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/StatementMetadata.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/EngineInterface.h:28, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/dsql.h:43: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/pass1.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/pass1.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/dsql.h:46: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/jrd.h:89, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/make.cpp:40: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/Attachment.h:40, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/dsql.h:47: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/RecordSourceNodes.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/make.cpp:52: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/jrd.h:89, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/movd.cpp:27: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ YYTABLESIZE: 151455 (exit `cat /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/y.status`) /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/make.cpp: In function 'Jrd::ValueExprNode* MAKE_constant(const char*, Jrd::dsql_constant_type, SSHORT)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/make.cpp:272:32: warning: enumeration value 'CONSTANT_DOUBLE' not handled in switch [-Wswitch] 272 | switch (numeric_flag) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/make.cpp:272:32: warning: enumeration value 'CONSTANT_DECIMAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/make.cpp:272:32: warning: enumeration value 'CONSTANT_NUM128' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/make.cpp:272:32: warning: enumeration value 'CONSTANT_BOOLEAN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/make.cpp:293:32: warning: enumeration value 'CONSTANT_DOUBLE' not handled in switch [-Wswitch] 293 | switch (numeric_flag) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/make.cpp:293:32: warning: enumeration value 'CONSTANT_DECIMAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/make.cpp:293:32: warning: enumeration value 'CONSTANT_NUM128' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/make.cpp:293:32: warning: enumeration value 'CONSTANT_BOOLEAN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/make.cpp: In function 'Jrd::dsql_par* MAKE_parameter(Jrd::dsql_msg*, bool, bool, USHORT, const Jrd::ValueExprNode*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/make.cpp:481:20: warning: unused variable 'tdbb' [-Wunused-variable] 481 | thread_db* tdbb = JRD_get_thread_data(); | ^~~~ sed -n -e "s/.*btyacc: \(.*conflicts.*\)/\1/p" /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/y.txt > /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/parse-conflicts.txt sed -i -e 's/#define \([A-Z].*\)/#define TOK_\1/' /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/y_tab.h /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/dsql.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sed -i -e 's/#define TOK_YY\(.*\)/#define YY\1/' /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/y_tab.h /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ mv -f /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/y_tab.h /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen/parse.h mv -f /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/y_tab.c /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/parse.cpp /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ touch /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/parse.cpp /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/utld.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/utld.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/dsql.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/dsql.h:42: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/ExtDS.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/extds/ExtDS.o In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../common/classes/array.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/dsql.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/pass1.cpp:145: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../common/classes/array.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/dsql.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/utld.cpp:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/InternalDS.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/extds/InternalDS.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/StatementMetadata.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/EngineInterface.h:28, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/dsql.h:43: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/StatementMetadata.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/EngineInterface.h:28, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/dsql.h:43: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/dsql.h:46: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/dsql.h:46: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/Attachment.h:40, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/dsql.h:47: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/Attachment.h:40, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/dsql.h:47: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/dsql.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ In file included from /usr/include/stdio.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/auto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../include/../common/classes/alloc.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../include/fb_blk.h:4, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/ExtDS.cpp:26: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../dsql/../dsql/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../dsql/../dsql/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../dsql/../dsql/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../dsql/../dsql/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/jrd.h:89, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/pass1.cpp:146: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/IscDS.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/extds/IscDS.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../dsql/../dsql/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../dsql/../dsql/../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../dsql/../dsql/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../dsql/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../dsql/ExprNodes.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/ExtDS.cpp:33: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/ValidatePassword.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/extds/ValidatePassword.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../dsql/../dsql/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../dsql/../dsql/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../dsql/../dsql/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../dsql/../dsql/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../dsql/../dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../dsql/../dsql/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/RecordSourceNodes.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/pass1.cpp:154: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../dsql/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../dsql/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../dsql/../dsql/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/pass1.cpp: In member function 'bool Jrd::InvalidReferenceFinder::visit(Jrd::ExprNode*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/pass1.cpp:282:14: warning: unused variable 'invalid' [-Wunused-variable] 282 | bool invalid = false; | ^~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/pass1.cpp: In function 'void PASS1_expand_select_node(Jrd::DsqlCompilerScratch*, Jrd::ExprNode*, Jrd::ValueListNode*, bool)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/pass1.cpp:1404:42: warning: unused variable 'tdbb' [-Wunused-variable] 1404 | thread_db* const tdbb = JRD_get_thread_data(); | ^~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/ExtDS.cpp:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/ExtDS.cpp: In member function 'void EDS::Provider::bindConnection(Jrd::thread_db*, EDS::Connection*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/ExtDS.cpp:372:14: warning: unused variable 'ret' [-Wunused-variable] 372 | bool ret = m_connections.add(AttToConn(attachment, conn)); | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/ExtDS.cpp: In member function 'EDS::Connection* EDS::Provider::getBoundConnection(Jrd::thread_db*, const Firebird::PathName&, Firebird::ClumpletReader&, EDS::TraScope)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/ExtDS.cpp:380:19: warning: unused variable 'dbb' [-Wunused-variable] 380 | Database* dbb = tdbb->getDatabase(); | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/ExtDS.cpp: In member function 'virtual void EDS::Provider::jrdAttachmentEnd(Jrd::thread_db*, Jrd::Attachment*, bool)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/ExtDS.cpp:415:19: warning: unused variable 'dbb' [-Wunused-variable] 415 | Database* dbb = tdbb->getDatabase(); | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/ExtDS.cpp: In member function 'virtual void EDS::Provider::releaseConnection(Jrd::thread_db*, EDS::Connection&, bool)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/ExtDS.cpp:455:37: warning: unused variable 'test' [-Wunused-variable] 455 | Connection* test = acc.current().m_conn; | ^~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/ExtDS.cpp:451:22: warning: variable 'found' set but not used [-Wunused-but-set-variable] 451 | bool found = false; | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/ExtDS.cpp: In member function 'EDS::Transaction* EDS::Connection::findTransaction(Jrd::thread_db*, EDS::TraScope) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/ExtDS.cpp:747:16: warning: enumeration value 'traNotSet' not handled in switch [-Wswitch] 747 | switch (traScope) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/ExtDS.cpp:747:16: warning: enumeration value 'traAutonomous' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/ExtDS.cpp: In member function 'void EDS::ConnectionsPool::putConnection(Jrd::thread_db*, EDS::Connection*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/ExtDS.cpp:953:35: warning: unused variable 'pos' [-Wunused-variable] 953 | FB_SIZE_T pos; | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/extds/ExtDS.cpp:1534:16: warning: enumeration value 'traNotSet' not handled in switch [-Wswitch] 1534 | switch (m_scope) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/ExtDS.cpp:1534:16: warning: enumeration value 'traAutonomous' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/extds/ExtDS.cpp:2204:31: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2204 | if (sqlCount || names && count > 0) | ~~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/pass1.cpp: In function 'Jrd::RecordSourceNode* PASS1_relation(Jrd::DsqlCompilerScratch*, Jrd::RecordSourceNode*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/pass1.cpp:1717:27: warning: unused variable 'node' [-Wunused-variable] 1717 | RecordSourceNode* node = NULL; | ^~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../common/classes/Hash.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/ExtDS.cpp:30: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../dsql/../dsql/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/extds/../../dsql/../dsql/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../dsql/../dsql/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/extds/../../dsql/../dsql/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/extds/../../dsql/../dsql/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../dsql/../dsql/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../dsql/../dsql/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/extds/../../dsql/../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-4.0.3.2975-0/src/jrd/extds/../../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../align.h:36, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/InternalDS.cpp:27: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /usr/include/locale.h:28, from /usr/include/c++/12/clocale:42, from /usr/include/c++/12/aarch64-OpenCloudOS-linux/bits/c++locale.h:41, from /usr/include/c++/12/bits/localefwd.h:40, from /usr/include/c++/12/ios:41: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../common/../jrd/ods.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/ValidatePassword.cpp:27: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../jrd/../common/../common/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/dsql.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/../dsql/dsql.h:42: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../dsql/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/extds/../../dsql/../dsql/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../dsql/../dsql/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/Relation.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../exe.h:36, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/InternalDS.cpp:28: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/extds/../../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../tra.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/ExtDS.cpp:38: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../common/classes/array.h:376:6: required from 'void Firebird::Array::push(const T&) [with T = Jrd::MetaName; Storage = Firebird::InlineStorage]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/DdlNodes.h:2058:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/../dsql/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../common/classes/array.h:165:3: required from 'void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../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-4.0.3.2975-0/src/jrd/extds/../../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../align.h:36, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/IscDS.cpp:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /usr/include/locale.h:28, from /usr/include/c++/12/clocale:42, from /usr/include/c++/12/aarch64-OpenCloudOS-linux/bits/c++locale.h:41, from /usr/include/c++/12/bits/localefwd.h:40, from /usr/include/c++/12/ios:41: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../common/../jrd/ods.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/Relation.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../exe.h:36, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/IscDS.cpp:31: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | 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-4.0.3.2975-0/src/jrd/extds/../../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/extds/../../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/extds/../../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/extds/../../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../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-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/IscDS.cpp: In member function 'virtual void EDS::IscStatement::doClose(Jrd::thread_db*, bool)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/IscDS.cpp:671:40: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 671 | m_allocated = m_handle = 0; | ~~~~~~~~~^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/../common/classes/ImplementHelper.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/EngineInterface.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/blb.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../exe.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/extds/../align.h:54: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/extds/../../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../tra.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/IscDS.cpp:34: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/InternalDS.cpp: In member function 'virtual void EDS::InternalProvider::jrdAttachmentEnd(Jrd::thread_db*, Jrd::Attachment*, bool)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/InternalDS.cpp:76:27: warning: unused variable 'dbb' [-Wunused-variable] 76 | Database* dbb = tdbb->getDatabase(); | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/InternalDS.cpp: In member function 'virtual void EDS::InternalStatement::doPrepare(Jrd::thread_db*, const Firebird::string&)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/InternalDS.cpp:547:16: warning: enumeration value 'TYPE_SESSION_MANAGEMENT' not handled in switch [-Wswitch] 547 | switch (statement->getType()) | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/../common/classes/ImplementHelper.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/EngineInterface.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/blb.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../exe.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/extds/../align.h:54: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/extds/../../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../tra.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/InternalDS.cpp:30: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/AggregatedStream.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/recsrc/AggregatedStream.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/BitmapTableScan.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/recsrc/BitmapTableScan.o In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/AggregatedStream.cpp:21: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/BitmapTableScan.cpp:21: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/ExprNodes.cpp: In member function 'void Jrd::ArithmeticNode::getDescDialect3(Jrd::thread_db*, dsc*, dsc&, dsc&)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/ExprNodes.cpp:1775:9: warning: 'dtype' may be used uninitialized [-Wmaybe-uninitialized] 1775 | if (dtype == dtype_quad) | ^~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/ExprNodes.cpp:1502:16: note: 'dtype' was declared here 1502 | USHORT dtype; | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/extds/IscDS.cpp:689: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] 689 | strncpy(xVar->sqlname, names[i]->c_str(), len); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/../jrd/../jrd/../common/TextType.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/../jrd/../jrd/intl_classes.h:38, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/../../jrd/../jrd/../jrd/val.h:34: 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-4.0.3.2975-0/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' at /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/InternalDS.cpp:286:12: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/extds/InternalDS.cpp: In member function 'virtual bool EDS::InternalConnection::isSameDatabase(const Firebird::PathName&, Firebird::ClumpletReader&) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/InternalDS.cpp:278:61: note: unnamed temporary defined here 278 | 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-4.0.3.2975-0/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' at /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/InternalDS.cpp:293:12: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/extds/InternalDS.cpp: In member function 'virtual bool EDS::InternalConnection::isSameDatabase(const Firebird::PathName&, Firebird::ClumpletReader&) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/extds/InternalDS.cpp:279:60: note: unnamed temporary defined here 279 | const MetaString& attRole = att->getSqlRole(); | ~~~~~~~~~~~~~~~^~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/BufferedStream.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/recsrc/BufferedStream.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/cmp_proto.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/AggregatedStream.cpp:24: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp: In member function 'virtual const Jrd::StmtNode* Jrd::BlockNode::execute(Jrd::thread_db*, Jrd::jrd_req*, Jrd::StmtNode::ExeState*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:757:76: warning: 'savNumber' may be used uninitialized [-Wmaybe-uninitialized] 757 | while (transaction->tra_save_point && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 758 | transaction->tra_save_point->getNumber() >= savNumber) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/StmtNodes.cpp:614:19: note: 'savNumber' was declared here 614 | SavNumber savNumber; | ^~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/BitmapTableScan.cpp:23: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/AggregatedStream.cpp: In instantiation of 'void Jrd::BaseAggWinStream::open(Jrd::thread_db*) const [with ThisType = Jrd::WindowedStream::WindowStream; NextType = Jrd::BaseBufferedStream]': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/AggregatedStream.cpp:359:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/AggregatedStream.cpp:71: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] 71 | memset(impure->groupValues, 0, sizeof(impure_value) * impureCount); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/AggregatedStream.cpp: In instantiation of 'int Jrd::BaseAggWinStream::lookForChange(Jrd::thread_db*, Jrd::jrd_req*, const Jrd::NestValueArray*, const Jrd::SortNode*, Jrd::impure_value*) const [with ThisType = Jrd::WindowedStream::WindowStream; NextType = Jrd::BaseBufferedStream; Jrd::NestValueArray = Firebird::Array >]': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/AggregatedStream.cpp:359:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/AggregatedStream.cpp:304:23: warning: unused variable 'impure' [-Wunused-variable] 304 | Impure* const impure = getImpure(request); | ^~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/recsrc/AggregatedStream.cpp:31: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/RecordSource.h: In instantiation of 'void Jrd::BaseAggWinStream::cacheValues(Jrd::thread_db*, Jrd::jrd_req*, const Jrd::NestValueArray*, Jrd::impure_value*, AdjustFunctor) const [with AdjustFunctor = Jrd::BaseAggWinStream::DummyAdjustFunctor; ThisType = Jrd::WindowedStream::WindowStream; NextType = Jrd::BaseBufferedStream; Jrd::NestValueArray = Firebird::Array >]': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/AggregatedStream.cpp:162:15: required from 'bool Jrd::BaseAggWinStream::evaluateGroup(Jrd::thread_db*) const [with ThisType = Jrd::WindowedStream::WindowStream; NextType = Jrd::BaseBufferedStream]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/AggregatedStream.cpp:359:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/RecordSource.h:760:39: warning: unused variable 'impure' [-Wunused-variable] 760 | Impure* const impure = getImpure(request); | ^~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/RecordSource.h: In instantiation of 'void Jrd::BaseAggWinStream::cacheValues(Jrd::thread_db*, Jrd::jrd_req*, const Jrd::NestValueArray*, Jrd::impure_value*, AdjustFunctor) const [with AdjustFunctor = Jrd::BaseAggWinStream::DummyAdjustFunctor; ThisType = Jrd::AggregatedStream; NextType = Jrd::RecordSource; Jrd::NestValueArray = Firebird::Array >]': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/AggregatedStream.cpp:162:15: required from 'bool Jrd::BaseAggWinStream::evaluateGroup(Jrd::thread_db*) const [with ThisType = Jrd::AggregatedStream; NextType = Jrd::RecordSource]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/AggregatedStream.cpp:392:20: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/RecordSource.h:760:39: warning: unused variable 'impure' [-Wunused-variable] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/AggregatedStream.cpp: In instantiation of 'int Jrd::BaseAggWinStream::lookForChange(Jrd::thread_db*, Jrd::jrd_req*, const Jrd::NestValueArray*, const Jrd::SortNode*, Jrd::impure_value*) const [with ThisType = Jrd::AggregatedStream; NextType = Jrd::RecordSource; Jrd::NestValueArray = Firebird::Array >]': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/AggregatedStream.cpp:175:9: required from 'bool Jrd::BaseAggWinStream::evaluateGroup(Jrd::thread_db*) const [with ThisType = Jrd::AggregatedStream; NextType = Jrd::RecordSource]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/AggregatedStream.cpp:392:20: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/AggregatedStream.cpp:304:23: warning: unused variable 'impure' [-Wunused-variable] 304 | Impure* const impure = getImpure(request); | ^~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/AggregatedStream.cpp: In instantiation of 'void Jrd::BaseAggWinStream::open(Jrd::thread_db*) const [with ThisType = Jrd::AggregatedStream; NextType = Jrd::RecordSource]': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/RecordSource.h:725:8: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/AggregatedStream.cpp:71: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] 71 | memset(impure->groupValues, 0, sizeof(impure_value) * impureCount); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/ConditionalStream.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/recsrc/ConditionalStream.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/Cursor.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/recsrc/Cursor.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/align.h:36, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/BufferedStream.cpp:24: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /usr/include/locale.h:28, from /usr/include/c++/12/clocale:42, from /usr/include/c++/12/aarch64-OpenCloudOS-linux/bits/c++locale.h:41, from /usr/include/c++/12/bits/localefwd.h:40, from /usr/include/c++/12/ios:41: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/BufferedStream.cpp:25: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/ExternalTableScan.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/recsrc/ExternalTableScan.o In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/ConditionalStream.cpp:24: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/FilteredStream.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/recsrc/FilteredStream.o In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/Cursor.cpp:24: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/BufferedStream.cpp:26: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/FirstRowsStream.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/recsrc/FirstRowsStream.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/ExternalTableScan.cpp:24: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/align.h:54: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/FilteredStream.cpp:21: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/dsql/ExprNodes.cpp:5862:29: warning: 'id' may be used uninitialized [-Wmaybe-uninitialized] 5862 | return PAR_gen_field(tdbb, stream, id, byId); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dsql/ExprNodes.cpp:5751:16: note: 'id' was declared here 5751 | SSHORT id; | ^~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/Cursor.cpp:25: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/FirstRowsStream.cpp:24: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/ExternalTableScan.cpp:25: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/ConditionalStream.cpp:25: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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 /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/FilteredStream.cpp:22: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/FirstRowsStream.cpp:25: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/FullOuterJoin.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/recsrc/FullOuterJoin.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/FullTableScan.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/recsrc/FullTableScan.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/HashJoin.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/recsrc/HashJoin.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/IndexTableScan.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/recsrc/IndexTableScan.o In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/FullTableScan.cpp:21: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/LockedStream.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/recsrc/LockedStream.o In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/FullOuterJoin.cpp:24: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/MergeJoin.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/recsrc/MergeJoin.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/stdio.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/auto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/Aligner.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/HashJoin.cpp:24: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/IndexTableScan.cpp:21: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/MergeJoin.cpp:21: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/LockedStream.cpp:24: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/FullTableScan.cpp:22: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/HashJoin.cpp:26: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/MergeJoin.cpp:22: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/FullOuterJoin.cpp:25: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/IndexTableScan.cpp:22: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | 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-4.0.3.2975-0/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/NestedLoopJoin.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/recsrc/NestedLoopJoin.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/MergeJoin.cpp:46:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/LockedStream.cpp:25: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/HashJoin.cpp:27: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/recsrc/IndexTableScan.cpp:24: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../common/classes/array.h:165:3: required from 'void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/ProcedureScan.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/recsrc/ProcedureScan.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/NestedLoopJoin.cpp:21: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/RecordSource.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/recsrc/RecordSource.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/RecursiveStream.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/recsrc/RecursiveStream.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/SingularStream.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/recsrc/SingularStream.o In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/ProcedureScan.cpp:21: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/SkipRowsStream.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/recsrc/SkipRowsStream.o In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/RecordSource.cpp:24: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/SortedStream.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/recsrc/SortedStream.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/NestedLoopJoin.cpp:22: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/RecursiveStream.cpp:24: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/SingularStream.cpp:21: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/SkipRowsStream.cpp:24: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/NestedLoopJoin.cpp:42:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/cmp_proto.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/ProcedureScan.cpp:25: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/SortedStream.cpp:21: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | 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-4.0.3.2975-0/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | 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-4.0.3.2975-0/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/RecursiveStream.cpp:25: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/SingularStream.cpp:22: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/RecordSource.cpp:27: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/RecursiveStream.cpp: In member function 'void Jrd::RecursiveStream::cleanupLevel(Jrd::jrd_req*, Impure*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/RecursiveStream.cpp:312: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] 312 | memmove(rpb, p, sizeof(record_param)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/SkipRowsStream.cpp:25: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/trace/../../jrd/trace/TraceObjects.h:391:16: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/recsrc/RecordSource.cpp:122:46: warning: unused variable 'relation' [-Wunused-variable] 122 | const jrd_rel* const relation = retrieval->irb_relation; | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/SingularStream.cpp:100:58: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/Union.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/recsrc/Union.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/DdlNodes.h:2058:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/SortedStream.cpp:24: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/Union.cpp:21: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/VirtualTableScan.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/recsrc/VirtualTableScan.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/WindowedStream.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/recsrc/WindowedStream.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/replication/Applier.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/replication/Applier.o In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/replication/ChangeLog.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/replication/ChangeLog.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/Union.cpp:22: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/replication/Config.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/replication/Config.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/replication/Manager.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/replication/Manager.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/Union.cpp:46:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/Union.cpp:51:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/VirtualTableScan.cpp:24: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/WindowedStream.cpp:24: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/replication/Config.cpp: In static member function 'static Replication::Config* Replication::Config::get(const Firebird::PathName&)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/replication/Config.cpp:171:29: warning: unused variable 'pool' [-Wunused-variable] 171 | MemoryPool& pool = *getDefaultMemoryPool(); | ^~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/replication/Config.cpp: In static member function 'static void Replication::Config::enumerate(Firebird::Array&)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/replication/Config.cpp:341:29: warning: unused variable 'pool' [-Wunused-variable] 341 | MemoryPool& pool = *getDefaultMemoryPool(); | ^~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/replication/Config.cpp:349:44: warning: unused variable 'exactMatch' [-Wunused-variable] 349 | bool defaultFound = false, exactMatch = false; | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/replication/ChangeLog.cpp:28: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/replication/Applier.cpp:25: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/replication/Publisher.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/replication/Publisher.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/replication/ChangeLog.cpp:30: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /usr/include/stdio.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/auto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/ClumpletReader.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/ClumpletWriter.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/replication/Manager.cpp:24: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/VirtualTableScan.cpp:25: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/locale.h:28, from /usr/include/c++/12/clocale:42, from /usr/include/c++/12/aarch64-OpenCloudOS-linux/bits/c++locale.h:41, from /usr/include/c++/12/bits/localefwd.h:40, from /usr/include/c++/12/ios:41: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/replication/Manager.cpp:27: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/os/os_utils.h:34: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/replication/Replicator.h:100:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/../common/TextType.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/intl_classes.h:38, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:34: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/replication/Replicator.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/replication/Replicator.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/intl.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/ini.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/replication/Publisher.cpp:24: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/evl_proto.h:28, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/WindowedStream.cpp:27: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/replication/Applier.cpp:27: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/WindowedStream.cpp: In member function 'virtual void Jrd::WindowedStream::WindowStream::open(Jrd::thread_db*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/WindowedStream.cpp:522: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] 522 | memset(impure->orderValues, 0, sizeof(impure_value) * impureCount); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/replication/Applier.cpp: In member function 'void Jrd::Applier::startTransaction(Jrd::thread_db*, TraNumber)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/replication/Applier.cpp:432:20: warning: unused variable 'attachment' [-Wunused-variable] 432 | const auto attachment = tdbb->getAttachment(); | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/replication/Applier.cpp: In member function 'bool Jrd::Applier::lookupRecord(Jrd::thread_db*, Jrd::jrd_rel*, Jrd::Record*, Jrd::RecordBitmap*, Jrd::index_desc&)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/replication/Applier.cpp:1125:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1125 | if (null1 != null2 || !null1 && MOV_compare(tdbb, &desc1, &desc2)) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/recsrc/WindowedStream.cpp:30: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/RecordSource.h: In instantiation of 'void Jrd::BaseAggWinStream::cacheValues(Jrd::thread_db*, Jrd::jrd_req*, const Jrd::NestValueArray*, Jrd::impure_value*, AdjustFunctor) const [with AdjustFunctor = Jrd::BaseAggWinStream::DummyAdjustFunctor; ThisType = Jrd::WindowedStream::WindowStream; NextType = Jrd::BaseBufferedStream; Jrd::NestValueArray = Firebird::Array >]': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/WindowedStream.cpp:676:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/RecordSource.h:760:39: warning: unused variable 'impure' [-Wunused-variable] 760 | Impure* const impure = getImpure(request); | ^~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/RecordSource.h: In instantiation of 'void Jrd::BaseAggWinStream::cacheValues(Jrd::thread_db*, Jrd::jrd_req*, const Jrd::NestValueArray*, Jrd::impure_value*, AdjustFunctor) const [with AdjustFunctor = Jrd::WindowedStream::WindowStream::AdjustFunctor; ThisType = Jrd::WindowedStream::WindowStream; NextType = Jrd::BaseBufferedStream; Jrd::NestValueArray = Firebird::Array >]': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/WindowedStream.cpp:947:14: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/RecordSource.h:760:39: warning: unused variable 'impure' [-Wunused-variable] In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../dsql/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../dsql/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/replication/Applier.cpp:189:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/../common/TextType.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/intl_classes.h:38, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:34: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/../common/../common/classes/MetaString.h:42:7: note: 'class Firebird::MetaString' declared here 42 | class MetaString | ^~~~~~~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/replication/Replicator.cpp:24: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/recsrc/WindowedStream.cpp:463:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../dsql/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../common/classes/ClumpletReader.h:33: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../common/classes/array.h:165:3: required from 'void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/replication/Publisher.cpp:25: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/replication/Utils.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/replication/Utils.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/TraceCmdLine.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/trace/TraceCmdLine.o In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/replication/Publisher.cpp:27: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/replication/Replicator.cpp: In member function 'void Replication::Replicator::commitTransaction(Firebird::CheckStatusWrapper*, Transaction*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/replication/Replicator.cpp:204:28: warning: unused variable 'dataLength' [-Wunused-variable] 204 | const auto dataLength = txnData.buffer->getCount() - sizeof(Block); | ^~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/TraceConfigStorage.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/trace/TraceConfigStorage.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/replication/Replicator.h:100:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/../common/TextType.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/intl_classes.h:38, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:34: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/replication/Replicator.cpp:481:19: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/replication/Replicator.cpp:28: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/replication/Replicator.h:224:24: note: 'struct Replication::Replicator::GeneratorValue' declared here 224 | struct GeneratorValue | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/TraceLog.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/trace/TraceLog.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/replication/Replicator.h:100:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/../common/TextType.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/intl_classes.h:38, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:34: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/TraceManager.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/trace/TraceManager.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/TraceObjects.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/trace/TraceObjects.o In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../common/classes/TempFile.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/TraceConfigStorage.cpp:30: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/TraceLog.cpp: In member function 'void Jrd::TraceLog::extend(FB_SIZE_T)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/TraceLog.cpp:218:25: warning: unused variable 'oldUsed' [-Wunused-variable] 218 | const FB_SIZE_T oldUsed = getUsed(); | ^~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/TraceConfigStorage.cpp:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/replication/Publisher.cpp: In function 'Firebird::IReplicatedSession* {anonymous}::getReplicator(Jrd::thread_db*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/replication/Publisher.cpp:133:79: note: unnamed temporary defined here 133 | const auto& userName = attachment->getUserName(); | ~~~~~~~~~~~~~~~~~~~~~~~^~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/TraceService.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/trace/TraceService.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/lock.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/lock/lock.o In file included from /usr/include/stdio.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/auto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../common/classes/array.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/TraceManager.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/TraceManager.cpp:31: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../common/utils_proto.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/TraceObjects.cpp:31: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/TraceService.cpp:31: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/../jrd/../common/../common/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/../jrd/../common/../common/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/../jrd/../common/../common/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/../jrd/../common/../common/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/File.h:26, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../common/classes/TempFile.h:28: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/trace/../../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/trace/../../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /usr/include/sched.h:29, from /usr/include/pthread.h:22, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/../lock/../common/classes/rwlock.h:188, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/../lock/lock_proto.h:36, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/lock.cpp:42: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/trace/../../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/TraceConfigStorage.cpp:33: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/trace/../../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../common/classes/array.h:165:3: required from 'void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/StatementMetadata.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/EngineInterface.h:28, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/dsql.h:43, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/TraceObjects.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/TraceManager.cpp:32: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/../jrd/../common/../common/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/../jrd/../common/../common/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/../jrd/../common/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/../jrd/../common/StatementMetadata.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/../jrd/EngineInterface.h:28, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/svc.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/TraceService.cpp:37: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/lock.cpp:44: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/StatementMetadata.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/EngineInterface.h:28, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/dsql.h:43, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/TraceObjects.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/TraceObjects.cpp:34: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/dsql.h:46: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/alice/alice.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/alice/alice.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/Attachment.h:40, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/dsql.h:47: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/ExprNodes.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/RecordSourceNodes.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/../jrd/recsrc/RecordSource.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/Mapping.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/TraceService.cpp:43: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/dsql.h:46: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/Attachment.h:40, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/dsql.h:47: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../jrd/../jrd/jrd.h:89, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../jrd/Relation.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/exe.h:36, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/TraceObjects.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | 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-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/gpre_current -m -z -n /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/alice/alice_meta.epp /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/alice/alice_meta.cpp /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ gpre version LI-V4.0.3.2975 Firebird 4.0 g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/alice/exe.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/alice/exe.o In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/RecordSourceNodes.h:31: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/lock.cpp: In member function 'bool Jrd::LockManager::init_shared_file(Firebird::CheckStatusWrapper*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/lock.cpp:302:36: warning: unused variable 'tmp' [-Wunused-variable] 302 | SharedMemory* tmp = FB_NEW_POOL(getPool()) SharedMemory(name.c_str(), m_memorySize, this); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/alice/alice.cpp:53: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/alice/../alice/aliceswi.h:322:20: warning: 'alice_repl_mode_sw_table' defined but not used [-Wunused-variable] 322 | static const char* alice_repl_mode_sw_table[] = | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/alice/../alice/aliceswi.h:317:20: warning: 'alice_shut_mode_sw_table' defined but not used [-Wunused-variable] 317 | static const char* alice_shut_mode_sw_table[] = | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../jrd/../jrd/jrd.h:89, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../jrd/Relation.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/exe.h:36, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/TraceObjects.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/lock.cpp: In member function 'lrq* Jrd::LockManager::deadlock_walk(lrq*, bool*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/lock.cpp:2011:36: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2011 | if (target = deadlock_walk(target, maybe_deadlock)) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/lock.cpp: In member function 'void Jrd::LockManager::post_blockage(Jrd::thread_db*, lrq*, lbl*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/lock.cpp:2648:23: warning: unused variable 'request_offset' [-Wunused-variable] 2648 | const SRQ_PTR request_offset = SRQ_REL_PTR(request); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/lock.cpp:2649:23: warning: unused variable 'lock_offset' [-Wunused-variable] 2649 | const SRQ_PTR lock_offset = SRQ_REL_PTR(lock); | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/lock.cpp: In member function 'void Jrd::LockManager::validate_lhb(const lhb*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/lock.cpp:3321:34: warning: unused variable 'que_next' [-Wunused-variable] 3321 | const srq* const que_next = SRQ_NEXT((*lock_srq)); | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/lock.cpp:3331:34: warning: unused variable 'que_next' [-Wunused-variable] 3331 | const srq* const que_next = SRQ_NEXT((*lock_srq)); | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/lock.cpp:3341:34: warning: unused variable 'que_next' [-Wunused-variable] 3341 | const srq* const que_next = SRQ_NEXT((*lock_srq)); | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/lock.cpp:3351:34: warning: unused variable 'que_next' [-Wunused-variable] 3351 | const srq* const que_next = SRQ_NEXT((*lock_srq)); | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/lock.cpp: In member function 'void Jrd::LockManager::validate_lock(SLONG, USHORT, SLONG)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/lock.cpp:3406:34: warning: unused variable 'que_next' [-Wunused-variable] 3406 | const srq* const que_next = SRQ_NEXT((*lock_srq)); | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/lock.cpp: In member function 'void Jrd::LockManager::validate_owner(SLONG, USHORT)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/lock.cpp:3515:50: warning: unused variable 'que2_next' [-Wunused-variable] 3515 | const srq* const que2_next = SRQ_NEXT((*que2)); | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/lock.cpp:3539:50: warning: unused variable 'que2_next' [-Wunused-variable] 3539 | const srq* const que2_next = SRQ_NEXT((*que2)); | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/lock.cpp:3556:30: warning: variable 'found_pending' set but not used [-Wunused-but-set-variable] 3556 | bool found_pending = false; | ^~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/lock.cpp:3497:34: warning: unused variable 'que_next' [-Wunused-variable] 3497 | const srq* const que_next = SRQ_NEXT((*lock_srq)); | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/lock.cpp:3604:42: warning: unused variable 'que2_next' [-Wunused-variable] 3604 | const srq* const que2_next = SRQ_NEXT((*que2)); | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/lock.cpp:3580:34: warning: unused variable 'que_next' [-Wunused-variable] 3580 | const srq* const que_next = SRQ_NEXT((*lock_srq)); | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/lock.cpp:3646:42: warning: unused variable 'que2_next' [-Wunused-variable] 3646 | const srq* const que2_next = SRQ_NEXT((*que2)); | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/lock.cpp:3623:34: warning: unused variable 'que_next' [-Wunused-variable] 3623 | const srq* const que_next = SRQ_NEXT((*lock_srq)); | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/config/config_file.h:28, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../common/config/config.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/TraceService.cpp:33: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/TraceObjects.h:391:16: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/trace/../../jrd/scl.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/TraceService.cpp:42: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/trace/../../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../dsql/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/trace/../../jrd/../jrd/recsrc/RecordSource.h:28: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/trace/../../jrd/../jrd/recsrc/RecordSource.h:30: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/../lock/lock_proto.h:40: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/lock/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/../lock/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/lock/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/lock/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/../lock/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/../lock/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/alice/tdr.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/alice/tdr.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/dsql.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/src/alice/exe.cpp:43: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/alice/../alice/aliceswi.h:322:20: warning: 'alice_repl_mode_sw_table' defined but not used [-Wunused-variable] 322 | static const char* alice_repl_mode_sw_table[] = | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/alice/../alice/aliceswi.h:317:20: warning: 'alice_shut_mode_sw_table' defined but not used [-Wunused-variable] 317 | static const char* alice_shut_mode_sw_table[] = | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/dsql.h:42: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../common/classes/array.h:165:3: required from 'void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/trace/../../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/gen/Release/firebird/bin/gpre_current -m -z -n -ocxx /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/OdsDetection.epp /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/OdsDetection.cpp gpre version LI-V4.0.3.2975 Firebird 4.0 /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/gpre_current -m -z -n -ocxx /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/backup.epp /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/backup.cpp gpre version LI-V4.0.3.2975 Firebird 4.0 g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/burp.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/burp.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/canonical.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/canonical.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/TraceObjects.cpp: In member function 'void Jrd::TraceSQLStatementImpl::DSQLParamsImpl::fillParams()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/TraceObjects.cpp:237:16: warning: unused variable 'first_index' [-Wunused-variable] 237 | USHORT first_index = 0; | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../common/utils_proto.h:34: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/TraceObjects.h:391:16: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/dsql.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/dsql.h:42: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/src/alice/tdr.cpp: In function 'void TDR_list_limbo(FB_API_HANDLE, const TEXT*, SINT64)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/src/alice/tdr.cpp:41: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/alice/../alice/aliceswi.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/alice/../alice/aliceswi.h:322:20: warning: 'alice_repl_mode_sw_table' defined but not used [-Wunused-variable] 322 | static const char* alice_repl_mode_sw_table[] = | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/alice/../alice/aliceswi.h:317:20: warning: 'alice_shut_mode_sw_table' defined but not used [-Wunused-variable] 317 | static const char* alice_shut_mode_sw_table[] = | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/misc.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/misc.o In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/burp.cpp:43: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../dsql/../dsql/DdlNodes.h:2058:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/../../jrd/trace/../../dsql/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/burp.h:36, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/canonical.cpp:37: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/mvol.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/mvol.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/gpre_current -m -z -n -ocxx /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/restore.epp /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/burp.h:36, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/burp.cpp:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ gpre version LI-V4.0.3.2975 Firebird 4.0 g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/utilities/gsec/gsec.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/utilities/gsec/gsec.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/burp.cpp: In function 'SLONG get_number(const SCHAR*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/burp.cpp:1910:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1910 | for (const SCHAR* p = string; c = *p++;) | ~~^~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/burp.cpp: In function 'ULONG get_size(const SCHAR*, burp_fil*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/burp.cpp:2523:43: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2523 | for (const SCHAR *num = string; c = *num++;) | ~~^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/burp.cpp:62: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/burpswi.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/burpswi.h:230:20: warning: 'burp_repl_mode_sw_table' defined but not used [-Wunused-variable] 230 | static const char* burp_repl_mode_sw_table[] = | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/burp.h:36, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/misc.cpp:30: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/utilities/gsec/gsec.cpp: In function 'int gsec(Firebird::UtilSvc*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/utilities/gsec/gsec.cpp:401:16: warning: enumeration value 'ISC_PROTOCOL_LOCAL' not handled in switch [-Wswitch] 401 | switch (ISC_extract_host(databaseName, serverName, true)) | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /usr/include/sched.h:29, from /usr/include/pthread.h:22, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/burp.h:36, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/mvol.cpp:42: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/TraceObjects.cpp: In member function 'virtual const char* Jrd::TraceConnectionImpl::getRoleName()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/TraceObjects.cpp:91:44: warning: function may return address of local variable [-Wreturn-local-addr] 91 | return m_att->getSqlRole().nullStr(); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/TraceObjects.cpp:91:33: note: declared here 91 | return m_att->getSqlRole().nullStr(); | ~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/TraceObjects.cpp: In member function 'virtual const char* Jrd::TraceConnectionImpl::getUserName()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/TraceObjects.cpp:86:45: warning: function may return address of local variable [-Wreturn-local-addr] 86 | return m_att->getUserName().nullStr(); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/jrd/trace/TraceObjects.cpp:86:34: note: declared here 86 | return m_att->getUserName().nullStr(); | ~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/gpre_current -m -z -n /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/utilities/gstat/dba.epp /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/utilities/gstat/dba.cpp gpre version LI-V4.0.3.2975 Firebird 4.0 In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/../burp/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/utilities/gstat/ppg.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/utilities/gstat/ppg.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/utilities/nbackup/nbackup.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/utilities/nbackup/nbackup.o In file included from /usr/include/sched.h:29, from /usr/include/pthread.h:22, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/utilities/gstat/ppg.cpp:32: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/Function.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/Function.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dpm.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dpm.o In file included from /usr/include/sched.h:29, from /usr/include/pthread.h:22, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/db_alias.h:26, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/utilities/nbackup/nbackup.cpp:38: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/utilities/nbackup/nbackup.cpp: In function 'void nbackup(Firebird::UtilSvc*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/utilities/nbackup/nbackup.cpp:2186:24: warning: enumeration value 'nbNone' not handled in switch [-Wswitch] 2186 | switch (op) | ^ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dyn_util.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dyn_util.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/mvol.cpp: In function 'bool MVOL_split_hdr_write()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/mvol.cpp:2074:62: warning: '%-27.27s' directive writing 27 bytes into a region of size between 26 and 52 [-Wformat-overflow=] 2074 | sprintf(buffer, "%s%.24s , file No. %4d of %4d, %-27.27s", | ^~~~~~~~ In file included from /usr/include/stdio.h:964, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/mvol.cpp:28: In function 'int sprintf(char*, const char*, ...)', inlined from 'bool MVOL_split_hdr_write()' at /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/mvol.cpp:2074: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/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dpm.cpp:46: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/Function.cpp:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:73: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dyn_util.cpp:38: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:76: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:79: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/fun.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/fun.o In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | 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-4.0.3.2975-0/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:4440:34: warning: unused variable 'attachment' [-Wunused-variable] 4440 | Jrd::Attachment* attachment = tdbb->getAttachment(); | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:4541:34: warning: unused variable 'attachment' [-Wunused-variable] 4541 | Jrd::Attachment* attachment = tdbb->getAttachment(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/firebird.h:63, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:69: /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp: In function 'bool create_expression_index(Jrd::thread_db*, SSHORT, Jrd::DeferredWork*, Jrd::jrd_tra*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/common.h:793: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] 793 | #define MOVE_CLEAR(to, length) memset(to, 0, (size_t) (length)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:6541:25: note: in expansion of macro 'MOVE_CLEAR' 6541 | MOVE_CLEAR(&idx, sizeof(index_desc)); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/Relation.h:26, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/../jrd/btr.h:54:8: note: 'struct Jrd::index_desc' declared here 54 | struct index_desc | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:6538:35: warning: unused variable 'dbb' [-Wunused-variable] 6538 | Database* dbb = tdbb->getDatabase(); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dpm.cpp:48: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/Function.cpp:32: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dyn_util.cpp:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp: In function 'bool modify_index(Jrd::thread_db*, SSHORT, Jrd::DeferredWork*, Jrd::jrd_tra*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_null' not handled in switch [-Wswitch] 7228 | switch (work->dfw_type) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_create_relation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_delete_relation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_update_format' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_compute_security' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_add_file' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_add_shadow' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_delete_shadow' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_delete_shadow_nodelete' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_modify_file' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_erase_file' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_create_field' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_delete_field' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_modify_field' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_delete_global' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_delete_rfr' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_post_event' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_create_trigger' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_delete_trigger' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_modify_trigger' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_grant' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_revoke' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_scan_relation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_create_procedure' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_modify_procedure' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_delete_procedure' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_delete_prm' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_create_collation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_delete_collation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_delete_exception' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_delete_generator' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_create_function' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_modify_function' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_delete_function' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_add_difference' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_delete_difference' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_begin_backup' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_end_backup' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_user_management' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_drop_package_header' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_drop_package_body' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_check_not_null' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_store_view_context_type' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_set_generator' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_change_repl_state' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_arg_index_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_arg_partner_rel_id' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_arg_proc_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_arg_force_computed' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_arg_check_blr' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_arg_rel_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_arg_trg_type' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_arg_new_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_arg_field_not_null' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_db_crypt' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_set_linger' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7228:16: warning: enumeration value 'dfw_clear_cache' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp: In function 'bool create_index(Jrd::thread_db*, SSHORT, Jrd::DeferredWork*, Jrd::jrd_tra*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7382:19: warning: unused variable 'dbb' [-Wunused-variable] 7382 | Database* dbb = tdbb->getDatabase(); | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp: In function 'bool create_relation(Jrd::thread_db*, SSHORT, Jrd::DeferredWork*, Jrd::jrd_tra*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7834:19: warning: unused variable 'dbb' [-Wunused-variable] 7834 | Database* dbb = tdbb->getDatabase(); | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp: In function 'Jrd::Format* make_format(Jrd::thread_db*, Jrd::jrd_rel*, USHORT*, TemporaryField*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:10125:19: warning: unused variable 'dbb' [-Wunused-variable] 10125 | Database* dbb = tdbb->getDatabase(); | ^~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/grant.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/grant.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp: In function 'bool make_version(Jrd::thread_db*, SSHORT, Jrd::DeferredWork*, Jrd::jrd_tra*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:10796: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] 10796 | memset(&tfb->tfb_default, 0, sizeof(tfb->tfb_default)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:10434:19: warning: unused variable 'dbb' [-Wunused-variable] 10434 | Database* dbb = tdbb->getDatabase(); | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp: In function 'bool modify_trigger(Jrd::thread_db*, SSHORT, Jrd::DeferredWork*, Jrd::jrd_tra*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:11086:19: warning: unused variable 'dbb' [-Wunused-variable] 11086 | Database* dbb = tdbb->getDatabase(); | ^~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/ini.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/ini.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:572: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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:8352:17: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/met.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/met.o In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/config/config.h:26, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/fun.cpp:44: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/Function.cpp:930:39: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/grant.cpp:38: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/DdlNodes.h:2058:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/fun.cpp:46: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/ini.cpp:34: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/grant.cpp:44: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/met.cpp:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/temp/Release/jrd/fun.cpp:48: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/ini.cpp:40: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/temp/Release/jrd/fun.cpp:764:16: warning: enumeration value 'UeNone' not handled in switch [-Wswitch] 764 | switch (udfError) | ^ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/scl.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/scl.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/ini.cpp: In function 'void store_global_field(Jrd::thread_db*, const gfld*, Jrd::AutoRequest&, const Jrd::MetaName&)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/ini.cpp:3629:19: warning: unused variable 'dbb' [-Wunused-variable] 3629 | Database* dbb = tdbb->getDatabase(); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/config/config_file.h:28, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/config/config.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/temp/Release/jrd/fun.cpp:350:17: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/temp/Release/jrd/fun.cpp:49: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../common/classes/array.h:165:3: required from 'void Firebird::Array::copyFrom(const Firebird::Array&) [with T = Jrd::MetaName; Storage = Firebird::EmptyStorage]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../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-4.0.3.2975-0/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/scl.cpp:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/met.cpp:54: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:9856:17: warning: 'dfw_type' may be used uninitialized [-Wmaybe-uninitialized] 9856 | if (work->dfw_type == dfw_type && dfw_type == dfw_delete_expression_index) | ^~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:9797:20: note: 'dfw_type' was declared here 9797 | enum dfw_t dfw_type; | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/met.cpp: In function 'Jrd::Format* MET_format(Jrd::thread_db*, Jrd::jrd_rel*, USHORT)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/met.cpp:5669:19: warning: unused variable 'dbb' [-Wunused-variable] 5669 | Database* dbb = tdbb->getDatabase(); | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/met.cpp: In function 'void MET_scan_relation(Jrd::thread_db*, Jrd::jrd_rel*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/met.cpp:9058:19: warning: unused variable 'dbb' [-Wunused-variable] 9058 | Database* dbb = tdbb->getDatabase(); | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/temp/Release/jrd/met.cpp:9659:19: warning: unused variable 'dbb' [-Wunused-variable] 9659 | Database* dbb = tdbb->getDatabase(); | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/met.cpp: In function 'void lookup_view_contexts(Jrd::thread_db*, Jrd::jrd_rel*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/met.cpp:10021:19: warning: unused variable 'dbb' [-Wunused-variable] 10021 | Database* dbb = tdbb->getDatabase(); | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/met.cpp: In function 'void store_dependencies(Jrd::thread_db*, Jrd::CompilerScratch*, const Jrd::jrd_rel*, const Jrd::MetaName&, int, Jrd::jrd_tra*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/met.cpp:10736:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 10728 | (dependency_type == obj_trigger) && (dep_rel != 0) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10729 | ( | ~ 10730 | (t = findTrigger(dep_rel->rel_pre_erase, object_name)) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10731 | (t = findTrigger(dep_rel->rel_pre_modify, object_name)) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10732 | (t = findTrigger(dep_rel->rel_pre_store, object_name)) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10733 | (t = findTrigger(dep_rel->rel_post_erase, object_name)) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10734 | (t = findTrigger(dep_rel->rel_post_modify, object_name)) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10735 | (t = findTrigger(dep_rel->rel_post_store, object_name)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10736 | ) && t && (t->sysTrigger); | ~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/met.cpp:10768:86: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 10768 | (dep_rel->rel_flags & REL_temp_tran) && (relation->rel_flags & REL_temp_conn) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp: In function 'bool add_file(Jrd::thread_db*, SSHORT, Jrd::DeferredWork*, Jrd::jrd_tra*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:5569:43: warning: 'shadow_number' may be used uninitialized [-Wmaybe-uninitialized] 5569 | jrd_486.jrd_487 = shadow_number; | ^~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:5422:25: note: 'shadow_number' was declared here 5422 | USHORT section, shadow_number; | ^~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:5563:32: warning: 'section' may be used uninitialized [-Wmaybe-uninitialized] 5563 | section--; | ~~~~~~~^~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:5422:16: note: 'section' was declared here 5422 | USHORT section, shadow_number; | ^~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/met.cpp:8446:38: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/DdlNodes.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/DdlNodes.h:2058:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/PackageNodes.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/PackageNodes.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/scl.cpp:46: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/temp/Release/jrd/scl.cpp:2205:32: warning: unused variable 'attachment' [-Wunused-variable] 2205 | Jrd::Attachment* const attachment = tdbb->getAttachment(); | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/scl.cpp: In function 'Jrd::SecurityClass::flags_t SCL_get_object_mask(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/scl.cpp:2631:19: warning: unused variable 'dbb' [-Wunused-variable] 2631 | Database* dbb = tdbb->getDatabase(); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../jrd/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../jrd/../jrd/MetaName.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../jrd/dyn.h:28, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/DdlNodes.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/PackageNodes.h:26, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/PackageNodes.cpp:30: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:572: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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/scl.cpp:2349:26: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/MetaName.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/dyn.h:28, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/DdlNodes.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../jrd/dyn.h:31: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/ini.cpp: In function 'void INI_init_dsql(Jrd::thread_db*, Jrd::dsql_dbb*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/ini.cpp:2433:63: warning: 'fld' may be used uninitialized [-Wmaybe-uninitialized] 2433 | for (const int* relfld = relfields; relfld[RFLD_R_NAME]; relfld = fld + 1) | ~~~~~~~~~~~~~~~~~~^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/ini.cpp:2429:20: note: 'fld' was declared here 2429 | const int* fld; | ^~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/metd.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/metd.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../dsql/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/DdlNodes.h:31: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../dsql/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../dsql/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../dsql/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../dsql/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/parse.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/parse.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/dyn.h:31: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../jrd/jrd.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/DdlNodes.h:31: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/sys/mman.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../dsql/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | 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-4.0.3.2975-0/src/include/../dsql/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/PackageNodes.cpp:34: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:42: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /usr/include/stdio.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/auto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../common/classes/array.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/dsql.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/metd.cpp:43: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../common/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../jrd/dyn.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../dsql/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../dsql/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../dsql/../dsql/../dsql/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../jrd/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../dsql/../dsql/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../dsql/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../dsql/../dsql/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp: In function 'const char* Jrd::getRelationScopeName(rel_t)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:12218:15: warning: enumeration value 'rel_persistent' not handled in switch [-Wswitch] 12218 | switch(type) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../dsql/../dsql/../dsql/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../dsql/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp: In member function 'virtual void Jrd::CommentOnNode::checkPermission(Jrd::thread_db*, Jrd::jrd_tra*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:13184:27: warning: unused variable 'attachment' [-Wunused-variable] 13184 | Attachment* const attachment = transaction->tra_attachment; | ^~~~~~~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/Nodes.h:26, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/parse.cpp:13: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../dsql/../dsql/../jrd/../common/classes/array.h:572: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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/PackageNodes.cpp:1446:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../dsql/../dsql/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:16764:27: warning: unused variable 'attachment' [-Wunused-variable] 16764 | Attachment* const attachment = transaction->getAttachment(); | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../jrd/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../jrd/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../common/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../common/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../common/MsgMetadata.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/StatementMetadata.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/EngineInterface.h:28, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/dsql.h:43: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../common/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/DdlNodes.h:2058:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../jrd/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../jrd/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:21585:24: warning: enumeration value 'TYPE_CHECK' not handled in switch [-Wswitch] 21585 | switch (constraint.type) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:21585:24: warning: enumeration value 'TYPE_NOT_NULL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp: In member function 'void Jrd::CreateAlterViewNode::createCheckTrigger(Jrd::thread_db*, Jrd::DsqlCompilerScratch*, Jrd::ValueListNode*, TriggerType)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:25623:21: warning: unused variable 'andArg' [-Wunused-variable] 25623 | int andArg = 0; | ^~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:25625:33: warning: unused variable 'andNode' [-Wunused-variable] 25625 | BinaryBoolNode* andNode = FB_NEW_POOL(pool) BinaryBoolNode(pool, blr_and); | ^~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp: In member function 'virtual void Jrd::MappingNode::runInSecurityDb(Jrd::SecDbContext*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:27469:31: warning: enumeration value 'MAP_RPL' not handled in switch [-Wswitch] 27469 | switch(op) | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/dsql.h:46: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/alice/alice_meta.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/alice/alice_meta.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/Attachment.h:40, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/dsql.h:47: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../dsql/../jrd/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/dyn.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../dsql/../dsql/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../dsql/../dsql/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../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-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:30224:19: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../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-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/../jrd/jrd.h:89, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/Relation.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:36, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/metd.cpp:48: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/DdlNodes.h:2058:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:28964:20: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/DdlNodes.h:2358:16: note: 'struct Jrd::GrantRevokeNode::CreateDbJob' declared here 2358 | struct CreateDbJob | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp: In function 'bool create_relation(Jrd::thread_db*, SSHORT, Jrd::DeferredWork*, Jrd::jrd_tra*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:8020:49: warning: 'external_flag' may be used uninitialized [-Wmaybe-uninitialized] 8020 | if (rel_id && blob_id.isEmpty() && !external_flag) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.cpp:7825:24: note: 'external_flag' was declared here 7825 | USHORT rel_id, external_flag; | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/alice/alice_meta.cpp:74:4: warning: 'SQLCODE' defined but not used [-Wunused-variable] 74 | SQLCODE; /* SQL status code */ | ^~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/alice/alice_meta.cpp:73:4: warning: 'isc_array_length' defined but not used [-Wunused-variable] 73 | isc_array_length, /* array return size */ | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/alice/alice_meta.cpp:71:4: warning: 'isc_status2' defined but not used [-Wunused-variable] 71 | isc_status2 [20]; /* status vector */ | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/alice/alice_meta.cpp:68:4: warning: 'gds_trans' defined but not used [-Wunused-variable] 68 | gds_trans = 0; /* default transaction handle */ | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/alice/alice_meta.cpp:65:4: warning: 'DB' defined but not used [-Wunused-variable] 65 | DB = 0; /* database handle */ | ^~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/../common/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../dsql/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../dsql/dsql.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../dsql/../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-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/../common/os/os_utils.h:52, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/Database.h:61, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/jrd.h:89: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../dsql/dsql.h:42: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/OdsDetection.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/OdsDetection.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/metd.cpp:3331:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/scl.cpp: In function 'USHORT SCL_convert_privilege(Jrd::thread_db*, Jrd::jrd_tra*, const Firebird::string&)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/scl.cpp:3187:16: warning: 'rc' may be used uninitialized [-Wmaybe-uninitialized] 3187 | return rc; | ^~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/scl.cpp:3183:16: note: 'rc' was declared here 3183 | USHORT rc; | ^~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/scl.cpp: In function 'Jrd::SecurityClass* SCL_get_class(Jrd::thread_db*, const TEXT*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/scl.cpp:2171:94: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=] 2171 | SecurityClass* const s_class = FB_NEW_POOL(pool) SecurityClass(pool, string, userName); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/scl.cpp:2158:70: note: unnamed temporary defined here 2158 | const MetaString& userName = attachment->getEffectiveUserName(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/scl.cpp:2160:42: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=] 2160 | MetaNamePair key(string, userName); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/scl.cpp:2158:70: note: unnamed temporary defined here 2158 | const MetaString& userName = attachment->getEffectiveUserName(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/RecordSourceNodes.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/parse.cpp:21: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/burp.h:36, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/OdsDetection.cpp:32: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/PackageNodes.cpp: In member function 'void Jrd::CreateAlterPackageNode::executeCreate(Jrd::thread_db*, Jrd::DsqlCompilerScratch*, Jrd::jrd_tra*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/PackageNodes.cpp:1595:17: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=] 1595 | owner = ownerName; | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/PackageNodes.cpp:1544:71: note: unnamed temporary defined here 1544 | const MetaString& ownerName = attachment->getEffectiveUserName(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../dsql/../common/classes/BlrWriter.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../dsql/BlrDebugWriter.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/temp/Release/dsql/PackageNodes.cpp:1568:9: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/temp/Release/dsql/PackageNodes.cpp: In member function 'void Jrd::CreateAlterPackageNode::executeCreate(Jrd::thread_db*, Jrd::DsqlCompilerScratch*, Jrd::jrd_tra*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/PackageNodes.cpp:1544:71: note: unnamed temporary defined here 1544 | const MetaString& ownerName = attachment->getEffectiveUserName(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/OdsDetection.cpp: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/OdsDetection.cpp:118:12: warning: 'fbIStatus' defined but not used [-Wunused-variable] 118 | static int fbIStatus; /* last completion code */ | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/parse.cpp: In member function 'int Jrd::Parser::parseAux()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/parse.cpp:35365:38: warning: unused variable 'yynewerrflag' [-Wunused-variable] 35365 | int /*yym, */yyn, yystate, yychar, yynewerrflag; | ^~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/backup.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/backup.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/err_proto.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../dsql/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/err_proto.h:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../dsql/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../common/classes/NestConst.h:28:7: note: 'class NestConst' declared here 28 | class NestConst | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/parse.cpp:36030:32: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/../jrd/MetaName.h:33: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/parse.cpp:36262:30: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/parse.cpp:39556:45: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/DdlNodes.h:2058:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../jrd/../jrd/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/burp.h:36, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/backup.cpp:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/burp.h:36, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:43: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/backup.cpp: In function 'void {anonymous}::put_relation(burp_rel*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/backup.cpp:6374:36: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 6374 | for (field = fields; field = fields;) | ~~~~~~^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/backup.cpp:6406:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 6406 | while (field = unaligned) | ~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/backup.cpp:6413:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 6413 | while (field = aligned) | ~~~~~~^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/backup.cpp:6420:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 6420 | while (field = aligned4) | ~~~~~~^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/backup.cpp:6427:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 6427 | while (field = aligned8) | ~~~~~~^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/backup.cpp: In function 'void {anonymous}::write_database(const TEXT*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/backup.cpp:7372:40: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 7372 | if (no_reserve = (USHORT) gds__vax_integer(d, length)) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/backup.cpp:7377:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 7377 | if (page_buffers = gds__vax_integer(d, length)) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/backup.cpp:7390:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 7390 | if (db_read_only = (USHORT) gds__vax_integer(d, length)) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/backup.cpp:7395:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 7395 | if (replica_mode = (USHORT) gds__vax_integer(d, length)) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/backup.cpp: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/backup.cpp:127:12: warning: 'fbIStatus' defined but not used [-Wunused-variable] 127 | static int fbIStatus; /* last completion code */ | ^~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/utilities/gstat/dba.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/utilities/gstat/dba.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp: In function 'FB_BOOLEAN {anonymous}::get_boolean(BurpGlobals*, bool)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:5105:29: warning: unused variable 'length' [-Wunused-variable] 5105 | const UCHAR length = get(tdgbl); | ^~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp: In function 'int RESTORE_restore(const TEXT*, const TEXT*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:5282:35: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 5282 | while (error_code = tdgbl->status_vector[1]) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp: In function 'rec_type {anonymous}::get_data(BurpGlobals*, burp_rel*, bool)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:9088:43: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 9088 | while (error_code = tdgbl->status_vector[1]) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp: In function 'rec_type {anonymous}::get_data_old(BurpGlobals*, burp_rel*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:9334:31: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 9334 | if (l = type_lengths[l]) | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:9682:43: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 9682 | while (error_code = tdgbl->status_vector[1]) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp: In function 'bool {anonymous}::get_global_field(BurpGlobals*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:13239:39: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 13239 | if (l = type_lengths[l]) | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:13721:39: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 13721 | if (l = type_lengths[l]) | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:14194:39: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 14194 | if (l = type_lengths[l]) | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp: In function 'bool {anonymous}::get_publication(BurpGlobals*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:15764:14: warning: unused variable 'temp' [-Wunused-variable] 15764 | TEXT temp[GDS_NAME_LEN]; | ^~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:15765:16: warning: unused variable 'len' [-Wunused-variable] 15765 | SSHORT len; | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp: In function 'bool {anonymous}::get_pub_table(BurpGlobals*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:15897:14: warning: unused variable 'temp' [-Wunused-variable] 15897 | TEXT temp[GDS_NAME_LEN]; | ^~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:15898:16: warning: unused variable 'len' [-Wunused-variable] 15898 | SSHORT len; | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp: In function 'bool {anonymous}::get_mapping(BurpGlobals*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_end' not handled in switch [-Wswitch] 17275 | switch(attribute) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_backup_date' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_backup_compress' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_backup_transportable' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_backup_volume' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_backup_zip' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_backup_hash' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_backup_crypt' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_file_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_creation_date' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_page_size' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_sweep_interval' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_database_description2' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_database_dfl_charset' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_forced_writes' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_page_buffers' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_SQL_dialect' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_db_read_only' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_database_linger' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_database_sql_security_deprecated' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_replica_mode' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_database_sql_security' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_relation_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_relation_record_length' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_relation_view_relation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_relation_security_class' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_relation_dummy' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_relation_ext_description' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_relation_owner_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_relation_description2' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_relation_view_source2' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_relation_ext_description2' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_relation_flags' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_relation_ext_file_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_relation_type' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_relation_sql_security_deprecated' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_relation_sql_security' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_field_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_view_context' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_field_query_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_field_type' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_field_length' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_field_scale' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_field_segment_length' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_field_position' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_field_offset' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_field_default_value' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_field_description' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_field_missing_value' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_field_computed_blr' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_field_computed_source' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_field_validation_blr' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_field_validation_source' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_field_number' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_field_computed_flag' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_field_system_flag' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_field_security_class' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_field_external_length' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_field_external_type' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_field_external_scale' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_field_dimensions' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_field_ranges' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_field_complex_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_field_range_low' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_field_range_high' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_field_update_flag' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_field_description2' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_field_validation_source2' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_field_computed_source2' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_field_null_flag' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_field_default_source' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_field_missing_source' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_field_character_length' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_field_character_set' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_field_collation_id' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_field_precision' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_field_owner_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_field_generator_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_field_identity_type' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_index_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_index_unique_flag' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_index_field_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_index_foreign_key' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_index_expression_source' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_index_expression_blr' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_data_length' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_blob_type' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_blob_number_segments' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_view_relation_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_view_context_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_view_context_type' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_view_context_package' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_class_security_class' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_class_acl' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_class_description' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_array_dimensions' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_array_range_low' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_array_range_high' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_xdr_length' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_xdr_array' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_class_description2' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_trig_type' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_trig_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_trig_relation_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_trig_system_flag' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_trig_source2' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_trig_description2' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_trig_flags' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_trig_valid_blr' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_trig_debug_info' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_trig_engine_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_trig_entrypoint' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_trig_type2' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_trig_sql_security_deprecated' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_trig_sql_security' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_function_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_function_module_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_function_entrypoint' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_function_type' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_function_engine_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_function_package_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_function_private_flag' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_function_blr' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_function_source' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_function_valid_blr' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_function_debug_info' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_function_security_class' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_function_owner_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_function_legacy_flag' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_function_deterministic_flag' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_function_sql_security_deprecated' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_function_sql_security' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_functionarg_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_functionarg_field_type' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_functionarg_field_scale' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_functionarg_character_set' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_functionarg_package_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_functionarg_arg_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_functionarg_field_source' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_functionarg_default_value' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_functionarg_default_source' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_functionarg_collation_id' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_functionarg_null_flag' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_functionarg_type_mechanism' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_functionarg_field_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_functionarg_relation_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_functionarg_description' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_type_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_type_description' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_type_system_flag' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_filter_module_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_filter_input_sub_type' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_filter_output_sub_type' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_filter_description2' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_type_description2' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_trigmsg_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_priv_user' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_priv_grant_option' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_priv_object_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_priv_obj_type' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_file_filename' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_file_length' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_file_flags' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_gen_generator' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_gen_description' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_gen_security_class' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_gen_init_val' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_procedure_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_procedure_description' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_procedure_description2' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_procedure_blr' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_procedure_owner_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_procedure_type' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_procedure_valid_blr' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_procedure_debug_info' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_procedure_engine_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_procedure_entrypoint' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_procedure_package_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_procedure_private_flag' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_procedure_sql_security_deprecated' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_procedure_sql_security' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_procedureprm_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_procedureprm_field_source' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_procedureprm_description' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_procedureprm_default_source' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_procedureprm_null_flag' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_procedureprm_mechanism' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_procedureprm_field_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_procedureprm_relation_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_exception_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_exception_description2' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_exception_msg2' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_rel_constraint_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_rel_constraint_defer' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_rel_constraint_init' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_ref_constraint_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_ref_update_rule' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_ref_delete_rule' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_role_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_role_sys_priveleges' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_chk_constraint_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_charset_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_charset_coll' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_charset_id' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_charset_funct' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_charset_security_class' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_charset_owner_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_coll_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_coll_attr' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_coll_subtype' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_coll_funct' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_coll_specific_attr' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_coll_security_class' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_coll_owner_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_map_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_auto_map_role' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_map_db' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_map_to_type' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_map_description' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_package_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_package_valid_body_flag' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_package_security_class' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_package_sql_security_deprecated' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_dbc_user' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_pub_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_pub_auto_enable' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17275:39: warning: enumeration value 'att_ptab_pub_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp: In function 'void {anonymous}::get_source_blob(BurpGlobals*, ISC_QUAD&, bool)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17667:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 17667 | while (*p++ = get(tdgbl)) | ~~~~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/../common/UtilSvc.h:36, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/burp.h:41: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:7803:34: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/burp.h:43: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/../common/classes/fb_pair.h:107:16: note: 'struct Firebird::Pair >' declared here 107 | struct Pair : public BasePair | ^~~~ 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-4.0.3.2975-0/temp/Release/utilities/gstat/dba.cpp:44: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:129:12: warning: 'fbIStatus' defined but not used [-Wunused-variable] 129 | static int fbIStatus; /* last completion code */ | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/utilities/gstat/dba.cpp: In function 'int gstat(Firebird::UtilSvc*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/utilities/gstat/dba.cpp:957:31: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 957 | } while (page = header->hdr_next_page); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/utilities/gstat/dba.cpp: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/temp/Release/utilities/gstat/dba.cpp:106:4: warning: 'DB' defined but not used [-Wunused-variable] 106 | DB = 0; /* database handle */ | ^~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../common/classes/BlrWriter.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/BlrDebugWriter.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:26765:9: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:26746:71: note: unnamed temporary defined here 26746 | const MetaString& ownerName = attachment->getEffectiveUserName(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp: In function 'void {anonymous}::get_array(BurpGlobals*, burp_rel*, UCHAR*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:6907:22: warning: 'end_ranges' may be used uninitialized [-Wmaybe-uninitialized] 6907 | const SLONG* end_ranges; | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp: In function 'bool {anonymous}::get_acl(BurpGlobals*, const TEXT*, ISC_QUAD*, ISC_QUAD*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:6790:22: warning: 'max_segment' may be used uninitialized [-Wmaybe-uninitialized] 6790 | if (length < max_segment) | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:6732:16: note: 'max_segment' was declared here 6732 | USHORT max_segment; | ^~~~~~~~~~~ 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-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:12666:10: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:12653:71: note: unnamed temporary defined here 12653 | 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-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:12792:9: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:12763:71: note: unnamed temporary defined here 12763 | const MetaString& ownerName = attachment->getEffectiveUserName(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In function 'UCHAR* {anonymous}::get_block(BurpGlobals*, UCHAR*, ULONG)', inlined from 'rec_type {anonymous}::get_data_old(BurpGlobals*, burp_rel*)' at /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:9565:13: /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:5133:31: warning: 'p' may be used uninitialized [-Wmaybe-uninitialized] 5133 | return MVOL_read_block(tdgbl, p, n); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp: In function 'rec_type {anonymous}::get_data_old(BurpGlobals*, burp_rel*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:9536:24: note: 'p' was declared here 9536 | UCHAR* p; | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp: In function 'rec_type {anonymous}::get_data(BurpGlobals*, burp_rel*, bool)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:9203:16: warning: 'record' may be used uninitialized [-Wmaybe-uninitialized] 9203 | return record; | ^~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:8620:18: note: 'record' was declared here 8620 | rec_type record; | ^~~~~~ In function 'UCHAR* {anonymous}::get_block(BurpGlobals*, UCHAR*, ULONG)', inlined from 'rec_type {anonymous}::get_data(BurpGlobals*, burp_rel*, bool)' at /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:8948:14: /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:5133:31: warning: 'p' may be used uninitialized [-Wmaybe-uninitialized] 5133 | return MVOL_read_block(tdgbl, p, n); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp: In function 'rec_type {anonymous}::get_data(BurpGlobals*, burp_rel*, bool)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:8917:32: note: 'p' was declared here 8917 | UCHAR* p; | ^ In function 'bool {anonymous}::get_trigger_old(BurpGlobals*, burp_rel*)', inlined from 'bool {anonymous}::get_relation_data(BurpGlobals*)' at /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:16782:20: /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17842:17: warning: 'type' may be used uninitialized [-Wmaybe-uninitialized] 17842 | switch (type) | ^~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp: In function 'bool {anonymous}::get_relation_data(BurpGlobals*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.cpp:17767:25: note: 'type' was declared here 17767 | enum trig_t type; | ^~~~ 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-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:21612:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:11623:33: warning: 'childType' may be used uninitialized [-Wmaybe-uninitialized] 11623 | checkFkPairTypes(masterType, masterRelName, childType, childRelName); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:11579:27: note: 'childType' was declared here 11579 | 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-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:21612:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:11623:33: warning: 'masterType' may be used uninitialized [-Wmaybe-uninitialized] 11623 | checkFkPairTypes(masterType, masterRelName, childType, childRelName); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:11579:15: note: 'masterType' was declared here 11579 | rel_t masterType, childType; | ^~~~~~~~~~ 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-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:19688:11: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp: In member function 'void Jrd::CreateAlterExceptionNode::executeCreate(Jrd::thread_db*, Jrd::DsqlCompilerScratch*, Jrd::jrd_tra*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:19654:71: note: unnamed temporary defined here 19654 | const MetaString& ownerName = attachment->getEffectiveUserName(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In member function 'int Firebird::MetaString::compare(const char*) const', inlined from 'bool Firebird::MetaString::operator!=(const char*) const' at /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:25074:17: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:24818:71: note: unnamed temporary defined here 24818 | const MetaString& ownerName = attachment->getEffectiveUserName(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../dsql/../dsql/../jrd/../jrd/Attachment.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:27160:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:27103:71: note: unnamed temporary defined here 27103 | const MetaString& ownerName = attachment->getEffectiveUserName(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:27141:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:27103:71: note: unnamed temporary defined here 27103 | 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-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:27114:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:27103:71: note: unnamed temporary defined here 27103 | const MetaString& ownerName = attachment->getEffectiveUserName(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:27111:18: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=] 27111 | if (name == ownerName) | ~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:27103:71: note: unnamed temporary defined here 27103 | 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-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:17248:9: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:17224:71: note: unnamed temporary defined here 17224 | 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-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:15321:12: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp: In member function 'void Jrd::CreateAlterProcedureNode::executeCreate(Jrd::thread_db*, Jrd::DsqlCompilerScratch*, Jrd::jrd_tra*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:15263:71: note: unnamed temporary defined here 15263 | 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-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:13761:12: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp: In member function 'void Jrd::CreateAlterFunctionNode::executeCreate(Jrd::thread_db*, Jrd::DsqlCompilerScratch*, Jrd::jrd_tra*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:13699:71: note: unnamed temporary defined here 13699 | 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-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:20205:11: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:20173:71: note: unnamed temporary defined here 20173 | const MetaString& ownerName = attachment->getEffectiveUserName(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:22501:9: warning: 'replicationEnabled' may be used uninitialized [-Wmaybe-uninitialized] 22501 | if (replicationEnabled) | ^~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:22470:14: note: 'replicationEnabled' was declared here 22470 | bool replicationEnabled; | ^~~~~~~~~~~~~~~~~~ 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-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:22411:24: /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:11689:33: warning: 'masterType' may be used uninitialized [-Wmaybe-uninitialized] 11689 | checkFkPairTypes(masterType, masterRelName, childType, childRelName); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/temp/Release/dsql/DdlNodes.cpp:11651:15: note: 'masterType' was declared here 11651 | rel_t masterType; | ^~~~~~~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -static-libstdc++ -Wl,--version-script,fbplugin.vers -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -shared -Wl,-soname,libEngine13.so -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/plugins/libEngine13.so /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/Attachment.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/Coercion.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/Collation.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/ConfigTable.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/CryptoManager.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/DataTypeUtil.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/Database.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/DbCreators.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/DebugInterface.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/ExtEngineManager.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/Function.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/GarbageCollector.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/GlobalRWLock.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/IntlManager.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/JrdStatement.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/Mapping.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/MetaName.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/Monitoring.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/Optimizer.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/PreparedStatement.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/RandomGenerator.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/RecordBuffer.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/RecordSourceNodes.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/Relation.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/ResultSet.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/Routine.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/RuntimeStatistics.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/Savepoint.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/SysFunction.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/SystemPackages.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/TempSpace.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/TimeZone.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/UserManagement.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/VirtualTable.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/blb.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/blob_filter.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/btn.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/btr.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/builtin.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/cch.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/cmp.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/cvt.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/cvt2.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dfw.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dpm.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/dyn_util.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/err.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/event.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/evl.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/exe.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/ext.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/filters.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/flu.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/fun.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/grant.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/idx.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/inf.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/ini.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/intl.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/intl_builtin.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/jrd.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/lck.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/met.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/mov.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/nbak.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/nodebug.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/ods.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/opt.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/pag.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/par.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/rlck.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/rpb_chain.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/scl.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/sdw.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/shut.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/sort.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/sqz.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/svc.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/tpc.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/tra.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/validation.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/vio.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/os/posix/unix.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/AggNodes.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/BlrDebugWriter.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/BoolNodes.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/DSqlDataTypeUtil.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/DdlNodes.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/DsqlBatch.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/DsqlCompilerScratch.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/DsqlCursor.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/ExprNodes.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/PackageNodes.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/Parser.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/StmtNodes.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/WinNodes.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/ddl.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/dsql.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/errd.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/gen.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/make.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/metd.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/movd.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/parse.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/pass1.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/dsql/utld.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/extds/ExtDS.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/extds/InternalDS.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/extds/IscDS.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/extds/ValidatePassword.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/recsrc/AggregatedStream.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/recsrc/BitmapTableScan.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/recsrc/BufferedStream.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/recsrc/ConditionalStream.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/recsrc/Cursor.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/recsrc/ExternalTableScan.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/recsrc/FilteredStream.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/recsrc/FirstRowsStream.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/recsrc/FullOuterJoin.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/recsrc/FullTableScan.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/recsrc/HashJoin.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/recsrc/IndexTableScan.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/recsrc/LockedStream.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/recsrc/MergeJoin.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/recsrc/NestedLoopJoin.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/recsrc/ProcedureScan.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/recsrc/RecordSource.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/recsrc/RecursiveStream.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/recsrc/SingularStream.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/recsrc/SkipRowsStream.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/recsrc/SortedStream.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/recsrc/Union.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/recsrc/VirtualTableScan.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/recsrc/WindowedStream.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/replication/Applier.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/replication/ChangeLog.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/replication/Config.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/replication/Manager.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/replication/Publisher.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/replication/Replicator.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/replication/Utils.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/trace/TraceCmdLine.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/trace/TraceConfigStorage.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/trace/TraceLog.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/trace/TraceManager.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/trace/TraceObjects.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/trace/TraceService.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/lock/lock.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/alice/alice.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/alice/alice_meta.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/alice/exe.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/alice/tdr.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/OdsDetection.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/backup.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/burp.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/canonical.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/misc.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/mvol.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/utilities/gsec/gsec.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/utilities/gstat/dba.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/utilities/gstat/ppg.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/utilities/nbackup/nbackup.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common.a -L/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib -latomic -lm -ldecFloat -lre2 -ltommath -ltomcrypt -L/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib -lfbclient -ltommath -ltomcrypt make[3]: Leaving directory '/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen' make fbintl make[3]: Entering directory '/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen' g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/common/keywords.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/keywords.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/intl/cs_big5.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/cs_big5.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/intl/cs_gb2312.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/cs_gb2312.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/intl/cs_icu.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/cs_icu.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/intl/cs_jis.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/cs_jis.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/intl/cs_ksc.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/cs_ksc.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/intl/cs_narrow.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/cs_narrow.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/intl/cs_unicode_fss.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/cs_unicode_fss.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/intl/cs_unicode_ucs2.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/cs_unicode_ucs2.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/intl/cv_big5.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/cv_big5.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/intl/cv_gb2312.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/cv_gb2312.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/intl/cv_icu.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/cv_icu.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/intl/cv_jis.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/cv_jis.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/intl/cs_narrow.cpp:377: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/intl/../intl/charsets/cs_koi8u.h: In function 'INTL_BOOL CS_koi8u(charset*, const ASCII*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/intl/cv_ksc.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/cv_ksc.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/intl/cv_narrow.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/cv_narrow.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/intl/cv_unicode_fss.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/cv_unicode_fss.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/intl/kanji.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/kanji.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/intl/lc_ascii.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/lc_ascii.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/intl/lc_big5.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/lc_big5.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/intl/lc_dos.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/lc_dos.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/intl/lc_gb2312.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/lc_gb2312.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/intl/lc_icu.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/lc_icu.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/intl/lc_iso8859_1.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/lc_iso8859_1.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/intl/lc_iso8859_13.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/lc_iso8859_13.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/intl/lc_iso8859_2.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/lc_iso8859_2.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/intl/lc_jis.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/lc_jis.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/intl/lc_ksc.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/lc_ksc.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/intl/lc_narrow.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/lc_narrow.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/intl/lc_unicode_ucs2.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/lc_unicode_ucs2.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/intl/ld.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/ld.o rm -f /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common.a ar crus /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common.a /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/Auth.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/BigInteger.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/CRC32C.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/CharSet.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/DecFloat.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/DynamicStrings.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/Int128.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/IntlParametersBlock.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/IntlUtil.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/MsgMetadata.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/ScanDir.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/SimilarToRegex.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/StatementMetadata.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/StatusArg.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/StatusHolder.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/TextType.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/ThreadData.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/ThreadStart.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/TimeZoneUtil.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/Tokens.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/UtilSvc.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/call_service.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/cvt.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/db_alias.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/dllinst.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/dsc.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/enc.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/fb_exception.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/isc.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/isc_file.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/isc_sync.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/keywords.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/pretty.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/sdl.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/security.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/sha.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/unicode_util.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/utils.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/xdr.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/os/posix/SyncSignals.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/os/posix/divorce.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/os/posix/fbsyslog.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/os/posix/guid.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/os/posix/isc_ipc.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/os/posix/mod_loader.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/os/posix/os_utils.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/os/posix/path_utils.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/BaseStream.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/BlobWrapper.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/BlrWriter.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/ClumpletReader.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/ClumpletWriter.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/DbImplementation.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/Hash.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/ImplementHelper.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/InternalMessageBuffer.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/MetaString.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/MsgPrint.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/NoThrowTimeStamp.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/ParsedList.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/SafeArg.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/Switches.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/SyncObject.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/Synchronize.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/TempFile.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/TimerImpl.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/TomCryptHash.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/UserBlob.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/alloc.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/fb_string.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/init.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/locks.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/semaphore.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/timestamp.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/classes/zip.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/config/ConfigCache.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/config/config.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/config/config_file.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/config/dir_list.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common/sha2/sha2.o g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -static-libstdc++ -Wl,--version-script,fbintl.vers -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -shared -Wl,-soname,libfbintl.so.1 -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/intl/libfbintl.so /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/cs_big5.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/cs_gb2312.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/cs_icu.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/cs_jis.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/cs_ksc.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/cs_narrow.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/cs_unicode_fss.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/cs_unicode_ucs2.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/cv_big5.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/cv_gb2312.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/cv_icu.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/cv_jis.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/cv_ksc.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/cv_narrow.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/cv_unicode_fss.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/kanji.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/lc_ascii.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/lc_big5.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/lc_dos.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/lc_gb2312.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/lc_icu.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/lc_iso8859_1.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/lc_iso8859_13.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/lc_iso8859_2.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/lc_jis.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/lc_ksc.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/lc_narrow.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/lc_unicode_ucs2.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/intl/ld.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common.a -L/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib -latomic -lm -ldecFloat -lre2 -L/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib -lfbclient -ltommath -ltomcrypt make[3]: Leaving directory '/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen' make utilities make[3]: Entering directory '/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen' g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/ReplServer.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/remote/server/ReplServer.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/remote/server/server.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/os/posix/inet_server.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/remote/server/os/posix/inet_server.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/auth/SecureRemotePassword/server/SrpServer.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/auth/SecureRemotePassword/server/SrpServer.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/auth/SecDbCache.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/auth/SecDbCache.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/print.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/lock/print.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/utilities/guard/guard.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/utilities/guard/guard.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/utilities/guard/util.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/utilities/guard/util.o In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/ReplServer.cpp:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_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-4.0.3.2975-0/src/include/../remote/remote.h:51, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/os/posix/inet_server.cpp:81: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/replication/Applier.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/ReplServer.cpp:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/BigInteger.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../auth/SecureRemotePassword/srp.h:1, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/auth/SecureRemotePassword/server/SrpServer.cpp:31: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h: In constructor 'Jrd::Format::Format(Firebird::MemoryPool&, int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:196: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] 196 | memset(&*impure, 0, sizeof(*impure)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/classes/Synchronize.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h: In member function 'void Firebird::SyncObject::lock(Firebird::Sync*, Firebird::SyncType, const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/SyncObject.h:69:28: warning: unused variable 'ret' [-Wunused-variable] 69 | const bool ret = lock(sync, type, from, -1); | ^~~ In file included from /usr/include/bits/socket.h:27, from /usr/include/sys/socket.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/remote.h:51, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/locale.h:28, from /usr/include/c++/12/clocale:42, from /usr/include/c++/12/aarch64-OpenCloudOS-linux/bits/c++locale.h:41, from /usr/include/c++/12/bits/localefwd.h:40, from /usr/include/c++/12/ios:41: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/replication/ChangeLog.h:80:82: warning: 'offsetof' within non-standard-layout type 'Replication::ChangeLog::State' is conditionally-supported [-Winvalid-offsetof] 80 | static const ULONG PID_CAPACITY = (STATE_MAPPING_SIZE - offsetof(State, pids)) / sizeof(int); // ~16K | ^ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/../jrd/../include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/../jrd/../include/fb_blk.h:4, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/../jrd/pag.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/print.cpp:40: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/../jrd/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/../jrd/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/../jrd/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/lock/../jrd/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/remote.h:306: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/tra.h:38, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/replication/Applier.h:30: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h: In constructor 'Jrd::CompilerScratch::Dependency::Dependency(int)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:414:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jrd::CompilerScratch::Dependency'; use assignment instead [-Wclass-memaccess] 414 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/exe.h:410:16: note: 'struct Jrd::CompilerScratch::Dependency' declared here 410 | struct Dependency | ^~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/remote.h: In constructor 'RFlags::RFlags()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/remote.h:429:29: warning: typedef 'dummy' locally defined but not used [-Wunused-local-typedefs] 429 | typedef int dummy[T(-1) > 0]; | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/utilities/guard/guard.cpp: In function 'int main(int, char**)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/utilities/guard/guard.cpp:282:41: warning: 'ret_code' may be used uninitialized [-Wmaybe-uninitialized] 282 | gds__log("%s: %s terminated abnormally (%d)\n", prog_name, process_name, ret_code); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/utilities/guard/guard.cpp:186:21: note: 'ret_code' was declared here 186 | int ret_code; | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/remote.h: In member function 'bool rem_port::releasePort()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/remote.h:1250:28: warning: unused variable 'locked' [-Wunused-variable] 1250 | const bool locked = portGuard.tryEnter(); | ^~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/utilities/fbsvcmgr/fbsvcmgr.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/utilities/fbsvcmgr/fbsvcmgr.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/objects_array.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/config/config_file.h:28, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/config/config.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/os/posix/inet_server.cpp:41: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../remote/remote.h:320:16: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../remote/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/xdr_proto.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/remot_proto.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../auth/SecureRemotePassword/srp.h:14: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/utilities/fbtracemgr/traceMgrMain.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/utilities/fbtracemgr/traceMgrMain.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/utils_proto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/SimpleStatusVector.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/StatusArg.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/os/os_utils.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/ReplServer.cpp:31: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:190:18: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:191:22: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/val.h:68:8: note: 'struct Jrd::impure_value' declared here 68 | struct impure_value | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/err_proto.h:29, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/jrd.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/Attachment.h:445:21: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/../dsql/Nodes.h:1224:15: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/jrd.h:45: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../remote/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/remote.h:306: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/remote.h: In constructor 'RFlags::RFlags()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/remote.h:429:29: warning: typedef 'dummy' locally defined but not used [-Wunused-local-typedefs] 429 | typedef int dummy[T(-1) > 0]; | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/remote.h: In member function 'bool rem_port::releasePort()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/remote.h:1250:28: warning: unused variable 'locked' [-Wunused-variable] 1250 | const bool locked = portGuard.tryEnter(); | ^~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../jrd/../jrd/rpb_chain.h:31, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/tra.h:39: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:516:7: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/main/burpMain.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/main/burpMain.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/MetaName.h:145:7: note: 'class Jrd::MetaName' declared here 145 | class MetaName | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/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]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/req.h:327:24: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/../common/../common/classes/array.h:498: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] 498 | memcpy(newdata, data, sizeof(T) * count); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp: In function 'ISC_STATUS allocate_statement(rem_port*, PACKET*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:2220:31: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2220 | if (statement->rsr_id = port->get_id(statement)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../jrd/req.h:57:8: note: 'struct Jrd::record_param' declared here 57 | struct record_param | ^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp: In function 'USHORT check_statement_type(Rsr*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:2747:14: warning: unused variable 'done' [-Wunused-variable] 2747 | bool done = false; | ^~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp: In member function 'ISC_STATUS rem_port::compile(P_CMPL*, PACKET*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:2837:30: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2837 | if (requestL->rrq_id = this->get_id(requestL)) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp: In member function 'void rem_port::disconnect(PACKET*, PACKET*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:2974:36: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2974 | while (transaction = rdb->rdb_transactions) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp: In member function 'ISC_STATUS rem_port::end_transaction(P_OP, P_RLSE*, PACKET*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_void' not handled in switch [-Wswitch] 3323 | switch (operation) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_connect' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_exit' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_accept' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_reject' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_disconnect' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_response' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_attach' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_create' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_detach' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_compile' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_start' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_start_and_send' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_send' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_receive' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_unwind' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_release' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_transaction' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_reconnect' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_create_blob' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_open_blob' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_get_segment' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_put_segment' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_cancel_blob' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_close_blob' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_info_database' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_info_request' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_info_transaction' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_info_blob' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_batch_segments' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_que_events' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_cancel_events' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_prepare2' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_event' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_connect_request' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_aux_connect' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_ddl' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_open_blob2' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_create_blob2' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_get_slice' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_put_slice' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_slice' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_seek_blob' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_allocate_statement' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_execute' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_exec_immediate' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_fetch' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_fetch_response' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_free_statement' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_prepare_statement' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_set_cursor' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_info_sql' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_dummy' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_response_piggyback' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_start_and_receive' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_start_send_and_receive' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_exec_immediate2' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_execute2' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_insert' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_sql_response' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_transact' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_transact_response' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_drop_database' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_service_attach' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_service_detach' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_service_info' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_service_start' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_update_account_info' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_authenticate_user' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_partial' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_trusted_auth' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_cancel' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_cont_auth' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_ping' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_accept_data' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_abort_aux_connection' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_crypt' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_crypt_key_callback' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_cond_accept' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_batch_create' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_batch_msg' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_batch_exec' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_batch_rls' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_batch_cs' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_batch_regblob' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_batch_blob_stream' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_batch_set_bpb' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_repl_data' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_repl_req' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_batch_cancel' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_batch_sync' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_info_batch' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3323:16: warning: enumeration value 'op_max' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp: In member function 'void rem_port::info(P_OP, P_INFO*, PACKET*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_void' not handled in switch [-Wswitch] 4390 | switch (op) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_connect' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_exit' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_accept' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_reject' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_disconnect' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_response' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_attach' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_create' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_detach' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_compile' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_start' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_start_and_send' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_send' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_receive' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_unwind' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_release' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_transaction' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_commit' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_rollback' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_prepare' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_reconnect' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_create_blob' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_open_blob' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_get_segment' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_put_segment' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_cancel_blob' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_close_blob' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_batch_segments' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_que_events' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_cancel_events' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_commit_retaining' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_prepare2' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_event' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_connect_request' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_aux_connect' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_ddl' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_open_blob2' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_create_blob2' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_get_slice' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_put_slice' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_slice' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_seek_blob' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_allocate_statement' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_execute' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_exec_immediate' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_fetch' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_fetch_response' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_free_statement' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_prepare_statement' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_set_cursor' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_dummy' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_response_piggyback' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_start_and_receive' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_start_send_and_receive' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_exec_immediate2' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_execute2' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_insert' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_sql_response' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_transact' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_transact_response' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_drop_database' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_service_attach' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_service_detach' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_service_start' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_rollback_retaining' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_update_account_info' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_authenticate_user' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_partial' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_trusted_auth' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_cancel' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_cont_auth' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_ping' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_accept_data' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_abort_aux_connection' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_crypt' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_crypt_key_callback' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_cond_accept' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_batch_create' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_batch_msg' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_batch_exec' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_batch_rls' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_batch_cs' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_batch_regblob' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_batch_blob_stream' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_batch_set_bpb' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_repl_data' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_repl_req' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_batch_cancel' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_batch_sync' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4390:16: warning: enumeration value 'op_max' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp: In function 'Rtr* make_transaction(Rdb*, Firebird::ITransaction*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4495:33: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 4495 | if (transaction->rtr_id = rdb->rdb_port->get_id(transaction)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp: In member function 'ISC_STATUS rem_port::open_blob(P_OP, P_BLOB*, PACKET*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:4581:34: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 4581 | if (blob->rbl_id = this->get_id(blob)) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp: In function 'bool continue_authentication(rem_port*, PACKET*, PACKET*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:5131:66: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 5131 | receive->p_operation == op_trusted_auth && port->port_protocol >= PROTOCOL_VERSION13 || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:5132:63: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 5132 | receive->p_operation == op_cont_auth && port->port_protocol < PROTOCOL_VERSION13) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp: In function 'void zap_packet(PACKET*, bool)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:6823: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] 6823 | memset(packet, 0, sizeof(PACKET)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../remote/remote_def.h:43, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/remote.h:33: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../remote/../remote/protocol.h:737:16: note: 'PACKET' {aka 'struct packet'} declared here 737 | typedef struct packet | ^~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:6831: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] 6831 | memset(packet, 0, sizeof(PACKET)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../remote/../remote/protocol.h:737:16: note: 'PACKET' {aka 'struct packet'} declared here 737 | typedef struct packet | ^~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/ClumpletReader.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/classes/ClumpletWriter.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/Auth.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/remote.h:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../remote/remote.h:320:16: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../remote/../common/dsc.h:85:16: note: 'struct dsc' declared here 85 | typedef struct dsc | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../remote/remote.h:1211:21: required from 'OBJCT rem_port::setHandle(T*, OBJCT) [with T = Rsr; OBJCT = short unsigned int]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/remote.h:1234:34: required from 'OBJCT rem_port::get_id(T*) [with T = Rsr; OBJCT = short unsigned int]' /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:2220:38: required from here /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/include/../remote/remote.h:581:7: note: 'class RemoteObject' declared here 581 | class RemoteObject | ^~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/alice/main/aliceMain.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/alice/main/aliceMain.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/utilities/gsec/main/gsecMain.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/utilities/gsec/main/gsecMain.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/split/spit.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/split/spit.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/utilities/gstat/main/gstatMain.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/utilities/gstat/main/gstatMain.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/isql/ColList.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/ColList.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/burp/split/spit.cpp:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../burp/burpswi.h:230:20: warning: 'burp_repl_mode_sw_table' defined but not used [-Wunused-variable] 230 | static const char* burp_repl_mode_sw_table[] = | ^~~~~~~~~~~~~~~~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/isql/Extender.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/Extender.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/isql/InputDevices.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/InputDevices.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/isql/OptionsBase.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/OptionsBase.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/gpre_current -m -z -n -ocxx /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/isql/extract.epp /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/extract.cpp gpre version LI-V4.0.3.2975 Firebird 4.0 /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/gpre_current -m -z -n -ocxx /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/isql/isql.epp /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/isql.cpp gpre version LI-V4.0.3.2975 Firebird 4.0 g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/isql/iutils.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/iutils.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/gpre_current -m -z -n -ocxx /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/isql/show.epp /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/show.cpp gpre version LI-V4.0.3.2975 Firebird 4.0 g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/utilities/nbackup/main/nbkMain.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/utilities/nbackup/main/nbkMain.o make ibutil make[4]: Entering directory '/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen' g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -static-libstdc++ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,--version-script,empty.vers /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/lock/print.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common.a -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/fb_lock_print -L/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib -lfbclient -ltommath -ltomcrypt -latomic -lm -ldecFloat -lre2 In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/isql/iutils.cpp:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/isql/isql.h:371:20: warning: 'UDF_param_types' defined but not used [-Wunused-variable] 371 | static const char* UDF_param_types[] = { | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/isql/isql.h:347:21: warning: 'Sub_types' defined but not used [-Wunused-variable] 347 | static const SCHAR* Sub_types[] = { | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/isql/isql.h:338:21: warning: 'Varying_subtypes' defined but not used [-Wunused-variable] 338 | static const SCHAR* Varying_subtypes[] = { | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/isql/isql.h:329:21: warning: 'Text_subtypes' defined but not used [-Wunused-variable] 329 | static const SCHAR* Text_subtypes[] = { | ^~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/isql/isql.h:319:21: warning: 'Integral_subtypes' defined but not used [-Wunused-variable] 319 | static const SCHAR* Integral_subtypes[] = { | ^~~~~~~~~~~~~~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -static-libstdc++ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,--version-script,empty.vers /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/utilities/guard/guard.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/utilities/guard/util.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common.a -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/fbguard -L/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib -lfbclient -ltommath -ltomcrypt -latomic -lm -ldecFloat -lre2 g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -static-libstdc++ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,--version-script,empty.vers /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/utilities/fbsvcmgr/fbsvcmgr.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common.a -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/fbsvcmgr -L/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib -lfbclient -ltommath -ltomcrypt -latomic -lm -ldecFloat -lre2 g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -static-libstdc++ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,--version-script,empty.vers /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/utilities/fbtracemgr/traceMgrMain.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/trace/TraceCmdLine.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common.a -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/fbtracemgr -L/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib -lfbclient -ltommath -ltomcrypt -latomic -lm -ldecFloat -lre2 g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -static-libstdc++ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,--version-script,empty.vers /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/OdsDetection.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/backup.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/burp.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/canonical.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/misc.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/mvol.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/restore.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/main/burpMain.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common.a -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/gbak -L/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib -lfbclient -ltommath -ltomcrypt -latomic -lm -ldecFloat -lre2 g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -static-libstdc++ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,--version-script,empty.vers /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/alice/alice.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/alice/alice_meta.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/alice/exe.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/alice/tdr.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/alice/main/aliceMain.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common.a -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/gfix -L/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib -lfbclient -ltommath -ltomcrypt -latomic -lm -ldecFloat -lre2 g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -static-libstdc++ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,--version-script,empty.vers /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/utilities/gsec/gsec.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/utilities/gsec/main/gsecMain.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common.a -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/gsec -L/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib -lfbclient -ltommath -ltomcrypt -latomic -lm -ldecFloat -lre2 g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -static-libstdc++ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,--version-script,empty.vers /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/burp/split/spit.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common.a -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/gsplit -L/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib -lfbclient -ltommath -ltomcrypt -latomic -lm -ldecFloat -lre2 g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -static-libstdc++ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,--version-script,empty.vers /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/utilities/gstat/dba.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/utilities/gstat/ppg.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/utilities/gstat/main/gstatMain.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/btn.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/ods.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common.a -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/gstat -L/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib -lfbclient -ltommath -ltomcrypt -latomic -lm -ldecFloat -lre2 g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/extract.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/extract.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/isql.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/isql.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/show.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/show.o g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -static-libstdc++ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,--version-script,empty.vers /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/utilities/nbackup/nbackup.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/utilities/nbackup/main/nbkMain.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/ods.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common.a -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/nbackup -L/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib -lfbclient -ltommath -ltomcrypt -latomic -lm -ldecFloat -lre2 In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../isql/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../isql/show_proto.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/extract.cpp:61: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/intl.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/isql.cpp:55: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/intl.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/show.cpp:52: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/intl.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/ini.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/extract.cpp:63: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/extract.cpp:58: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../isql/isql.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../isql/isql.h:338:21: warning: 'Varying_subtypes' defined but not used [-Wunused-variable] 338 | static const SCHAR* Varying_subtypes[] = { | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../isql/isql.h:329:21: warning: 'Text_subtypes' defined but not used [-Wunused-variable] 329 | static const SCHAR* Text_subtypes[] = { | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../jrd/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/isql.cpp: In function 'bool ISQL_statement_ends_in_comment(const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/isql.cpp:2766:40: warning: enumeration value 'in_single_line_comment' not handled in switch [-Wswitch] 2766 | switch (state) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/isql.cpp:2766:40: warning: enumeration value 'in_block_comment' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/isql.cpp:2766:40: warning: enumeration value 'in_double_quoted_string' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/temp/Release/isql/isql.cpp:2806:40: warning: enumeration value 'in_block_comment' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/isql.cpp:2806:40: warning: enumeration value 'in_single_quoted_string' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/isql.cpp:2715:21: warning: variable 'altQuoteStart' set but not used [-Wunused-but-set-variable] 2715 | const char* altQuoteStart = nullptr; | ^~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/isql.cpp: In function 'processing_state add_row(TEXT*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/isql.cpp:3924:21: warning: unused variable 'i' [-Wunused-variable] 3924 | int i = 0; | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/isql.cpp:4017:36: warning: unused variable 'nullable' [-Wunused-variable] 4017 | const bool nullable = msg->isNullable(fbStatus, i); | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/isql.cpp: In function 'processing_state bulk_insert_hack(const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/isql.cpp:4761:36: warning: unused variable 'nullable' [-Wunused-variable] 4761 | const bool nullable = message->isNullable(fbStatus, i); | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/isql.cpp:4746:38: warning: unused variable 'textFieldIter' [-Wunused-variable] 4746 | for (unsigned i = 0, textFieldIter = 0; i < n_cols && !done; ++i) | ^~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/isql.cpp: In function 'processing_state create_db(const TEXT*, TEXT*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/isql.cpp:5788:22: warning: unused variable 'quote' [-Wunused-variable] 5788 | TEXT quote = DBL_QUOTE; | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/isql.cpp:5789:29: warning: unused variable 'p' [-Wunused-variable] 5789 | const TEXT* p = NULL; | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/isql.cpp: In function 'processing_state get_statement(Firebird::string&, const TEXT*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/isql.cpp:7535:32: warning: enumeration value 'in_single_line_comment' not handled in switch [-Wswitch] 7535 | switch (state) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/isql.cpp:7535:32: warning: enumeration value 'in_block_comment' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/isql.cpp:7535:32: warning: enumeration value 'in_double_quoted_string' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/isql.cpp:7573:32: warning: enumeration value 'in_single_line_comment' not handled in switch [-Wswitch] 7573 | switch (state) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/isql.cpp:7573:32: warning: enumeration value 'in_block_comment' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/isql.cpp:7573:32: warning: enumeration value 'in_single_quoted_string' not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/isql.cpp:110: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../isql/isql.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../isql/isql.h:371:20: warning: 'UDF_param_types' defined but not used [-Wunused-variable] 371 | static const char* UDF_param_types[] = { | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../isql/isql.h:347:21: warning: 'Sub_types' defined but not used [-Wunused-variable] 347 | static const SCHAR* Sub_types[] = { | ^~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/show.cpp:51: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../isql/isql.h: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../isql/isql.h:338:21: warning: 'Varying_subtypes' defined but not used [-Wunused-variable] 338 | static const SCHAR* Varying_subtypes[] = { | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../isql/isql.h:329:21: warning: 'Text_subtypes' defined but not used [-Wunused-variable] 329 | static const SCHAR* Text_subtypes[] = { | ^~~~~~~~~~~~~ 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-4.0.3.2975-0/src/remote/server/server.cpp:3265:42: /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/src/remote/server/server.cpp: In member function 'ISC_STATUS rem_port::end_statement(P_SQLFREE*, PACKET*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/remote/server/server.cpp:3262:35: note: 'pos' was declared here 3262 | FB_SIZE_T pos; | ^~~ In file included from /usr/include/stdio.h:964, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/temp/Release/isql/isql.cpp:9893:9, inlined from 'unsigned int print_item(TEXT**, const IsqlVar*, unsigned int)' at /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/isql.cpp:9342:23, inlined from 'processing_state print_line(Firebird::IMessageMetadata*, UCHAR*, const unsigned int*, TEXT*)' at /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/isql.cpp:9962: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-4.0.3.2975-0/temp/Release/isql/isql.cpp: In function 'processing_state print_line(Firebird::IMessageMetadata*, UCHAR*, const unsigned int*, TEXT*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/isql.cpp:9326:40: note: 'value' was declared here 9326 | SINT64 value; | ^~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/extlib/ib_util.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/extlib/ib_util.o g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -static-libstdc++ -Wl,--version-script,ib_util.vers -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -shared -Wl,-soname,libib_util.so -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib/libib_util.so /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/extlib/ib_util.o make[4]: Leaving directory '/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen' g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -static-libstdc++ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,--version-script,empty.vers /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/remote/inet.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/remote/merge.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/remote/parser.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/remote/protocol.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/remote/remote.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/auth/SecureRemotePassword/srp.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/remote/server/ReplServer.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/remote/server/server.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/remote/server/os/posix/inet_server.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/auth/SecureRemotePassword/server/SrpServer.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/replication/Config.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/jrd/replication/Utils.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/auth/SecDbCache.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common.a -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/firebird -L/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib -lfbclient -ltommath -ltomcrypt -latomic -lm -ldecFloat -lre2 g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -static-libstdc++ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,--version-script,empty.vers /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/ColList.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/Extender.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/InputDevices.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/OptionsBase.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/extract.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/isql.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/iutils.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/isql/show.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common.a -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/isql -L/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib -lfbclient -ltommath -ltomcrypt -ledit -lcurses -latomic -lm -ldecFloat -lre2 make[3]: Leaving directory '/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen' make gpre make[3]: Entering directory '/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen' rm -f metadata.fdb /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/isql -q -i /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dbs/metadata.sql rm -f msg.fdb echo create database \'msg.fdb\'\; | /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/isql /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/gbak -MODE read_only -R /builddir/build/BUILD/Firebird-4.0.3.2975-0/builds/misc/help.gbak help.fdb can't format message 17:3 -- message file /var/lib/firebird/system/firebird.msg not found rm -f security.fdb rm -f security.tmp /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/gpre_current -m -z -n /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/gpre/std/gpre_meta.epp /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/std/gpre_meta.cpp echo create database \'security.tmp\'\; | /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/isql can't format message 17:3 -- message file /var/lib/firebird/system/firebird.msg not found gpre version LI-V4.0.3.2975 Firebird 4.0 /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/gfix -write async msg.fdb g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/std/gpre_meta.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/std/gpre_meta.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/gfix -mode read_only metadata.fdb for sql in /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/msgs/msg.sql /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/msgs/facilities2.sql /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/msgs/locales.sql /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/msgs/sqlstates.sql /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/msgs/history2.sql /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/msgs/messages2.sql /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/msgs/symbols2.sql /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/msgs/system_errors2.sql /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/msgs/transmsgs.fr_FR2.sql /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/msgs/transmsgs.de_DE2.sql; do (echo $sql; /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/isql -i $sql msg.fdb) || exit; done chmod 0444 metadata.fdb /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/msgs/msg.sql rm -f yachts.lnk /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/gfix -write async security.tmp chmod 0444 help.fdb ln -s metadata.fdb yachts.lnk rm -f /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/help/help.fdb /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/isql -i /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/dbs/security.sql security.tmp cp help.fdb /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/help/help.fdb chmod 0444 /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/help/help.fdb chmod a=rw security.tmp cp security.tmp security.fdb /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/msgs/facilities2.sql /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/gfix -write sync security.fdb rm -f /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/security4.fdb /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/msgs/locales.sql cp security.fdb /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/security4.fdb /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/msgs/sqlstates.sql /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/msgs/history2.sql In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../gpre/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../gpre/../common/utils_proto.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../gpre/gpre.h:69, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/std/gpre_meta.cpp:40: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../gpre/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../gpre/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../gpre/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../gpre/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/msgs/messages2.sql In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../gpre/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../gpre/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../gpre/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../gpre/gpre.h:1515: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../gpre/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../gpre/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../gpre/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../gpre/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../gpre/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/std/gpre_meta.cpp: In function 'void MET_fini(gpre_dbb*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/temp/Release/gpre/std/gpre_meta.cpp: In function 'void MET_load_hash_table(gpre_dbb*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/temp/Release/gpre/std/gpre_meta.cpp: In function 'void get_array(gpre_dbb*, const TEXT*, gpre_fld*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/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; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/msgs/symbols2.sql /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/msgs/system_errors2.sql /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/msgs/transmsgs.fr_FR2.sql g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -static-libstdc++ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,--version-script,empty.vers /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/c_cxx.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/cmd.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/cme.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/cmp.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/exp.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/gpre.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/hsh.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/int_cxx.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/jrdmet.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/movg.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/msc.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/obj_cxx.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/par.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/pat.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/sqe.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/sql.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/gpre/std/gpre_meta.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common.a -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/gpre -L/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib -lfbclient -ltommath -ltomcrypt -latomic -lm -ldecFloat -lre2 /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/msgs/transmsgs.de_DE2.sql touch msg.timestamp make[3]: Leaving directory '/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen' rm -f /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/gpre_current (cd /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin; ln -s gpre gpre_current) make plugins make[3]: Entering directory '/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen' g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/plugins/udr_engine/UdrEngine.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/plugins/udr_engine/UdrEngine.o cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/plugins/udr_engine/udr_engine.conf /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/plugins/udr_engine.conf /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/gpre_current -m -z -n /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/auth/SecurityDatabase/LegacyManagement.epp /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/auth/SecurityDatabase/LegacyManagement.cpp gpre version LI-V4.0.3.2975 Firebird 4.0 g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/auth/SecurityDatabase/LegacyServer.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/auth/SecurityDatabase/LegacyServer.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/utilities/ntrace/PluginLogWriter.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/utilities/ntrace/PluginLogWriter.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/utilities/ntrace/TraceConfiguration.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/utilities/ntrace/TraceConfiguration.o Version(s) for database "security.fdb" Firebird/Linux/ARM64 (access method), version "LI-V4.0.3.2975 Firebird 4.0" on disk structure version 13.0 g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/utilities/ntrace/TracePluginImpl.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/utilities/ntrace/TracePluginImpl.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/utilities/ntrace/traceplugin.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/utilities/ntrace/traceplugin.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/utilities/ntrace/os/posix/platform.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/utilities/ntrace/os/posix/platform.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/extlib/UdfBackwardCompatibility.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/extlib/UdfBackwardCompatibility.o In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/utils_proto.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../auth/SecurityDatabase/LegacyHash.h:30, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/auth/SecurityDatabase/LegacyServer.cpp:33: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/utilities/ntrace/PluginLogWriter.cpp: In member function 'void PluginLogWriter::checkErrno(const char*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/utilities/ntrace/PluginLogWriter.cpp:254:19: warning: ignoring return value of 'char* strerror_r(int, char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 254 | strerror_r(errno, buff, sizeof(buff)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/extlib/UdfBackwardCompatibility.sql /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/plugins/udr/udf_compat.sql In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/xdr_proto.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/remot_proto.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/auth/SecurityDatabase/LegacyServer.cpp:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/plugins/crypt/chacha/ChaCha.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/plugins/crypt/chacha/ChaCha.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-4.0.3.2975-0/src/utilities/ntrace/PluginLogWriter.h:46, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/utilities/ntrace/TracePluginImpl.cpp:33: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/utilities/ntrace/../../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/utilities/ntrace/../../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/utilities/ntrace/../../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/utilities/ntrace/../../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/utilities/ntrace/../../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/utilities/ntrace/../../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/utilities/ntrace/../../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/utilities/ntrace/TracePluginImpl.cpp:38: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/utilities/ntrace/../../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/utilities/ntrace/../../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/stdexcept:39, from /usr/include/c++/12/system_error:41, from /usr/include/c++/12/mutex:41, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2/re2/re2.h:196, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/utilities/ntrace/../../common/SimilarToRegex.h:25, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/utilities/ntrace/TracePluginImpl.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/utilities/ntrace/TracePluginImpl.cpp:32: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/auth/SecurityDatabase/LegacyManagement.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/auth/SecurityDatabase/LegacyManagement.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/auth/SecureRemotePassword/manage/SrpManagement.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/auth/SecureRemotePassword/manage/SrpManagement.o In file included from /usr/include/stdio.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/auto.h:34, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/ImplementHelper.h:33, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/auth/SecureRemotePassword/manage/SrpManagement.cpp:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -static-libstdc++ -Wl,--version-script,fbplugin.vers -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -shared -Wl,-soname,libLegacy_Auth.so.0 -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/plugins/libLegacy_Auth.so /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/auth/SecurityDatabase/LegacyServer.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/auth/SecDbCache.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common.a -L/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib -latomic -lm -ldecFloat -lre2 -L/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib -lfbclient -ltommath -ltomcrypt\ /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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-4.0.3.2975-0/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 /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/dsc.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/xdr_proto.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/remot_proto.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../auth/SecureRemotePassword/srp.h:14, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/auth/SecureRemotePassword/manage/SrpManagement.cpp:33: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../remote/../common/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -static-libstdc++ -Wl,--version-script,fbplugin.vers -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -shared -Wl,-soname,libChaCha.so.0 -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/plugins/libChaCha.so /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/plugins/crypt/chacha/ChaCha.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common.a -L/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib -latomic -lm -ldecFloat -lre2 -L/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib -lfbclient -ltommath -ltomcrypt\ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -static-libstdc++ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -shared -Wl,-soname,libudf_compat.so \ -Wl,--version-script,udr_plugin.vers -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/plugins/udr/libudf_compat.so /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/extlib/UdfBackwardCompatibility.o g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -static-libstdc++ -Wl,--version-script,fbplugin.vers -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -shared -Wl,-soname,libLegacy_UserManager.so.0 -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/plugins/libLegacy_UserManager.so /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/auth/SecurityDatabase/LegacyManagement.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common.a -L/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib -latomic -lm -ldecFloat -lre2 -L/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib -lfbclient -ltommath -ltomcrypt\ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -static-libstdc++ -Wl,--version-script,fbplugin.vers -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -shared -Wl,-soname,libSrp.so.0 -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/plugins/libSrp.so /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/auth/SecureRemotePassword/manage/SrpManagement.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/auth/SecureRemotePassword/srp.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common.a -L/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib -latomic -lm -ldecFloat -lre2 -L/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib -lfbclient -ltommath -ltomcrypt\ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -static-libstdc++ -Wl,--version-script,fbplugin.vers -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -shared -Wl,-soname,libfbtrace.so.0 -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/plugins/libfbtrace.so /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/utilities/ntrace/PluginLogWriter.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/utilities/ntrace/TraceConfiguration.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/utilities/ntrace/TracePluginImpl.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/utilities/ntrace/traceplugin.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/utilities/ntrace/os/posix/platform.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common.a -L/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib -lfbclient -ltommath -ltomcrypt -L/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib -latomic -lm -ldecFloat -lre2 g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -static-libstdc++ -Wl,--version-script,fbplugin.vers -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -shared -Wl,-soname,libudr_engine.so.0 -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/plugins/libudr_engine.so /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/plugins/udr_engine/UdrEngine.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common.a -L/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib -latomic -lm -ldecFloat -lre2 -L/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib -lfbclient -ltommath -ltomcrypt\ make[3]: Leaving directory '/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen' make examples make[3]: Entering directory '/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen' mkdir -p /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include mkdir -p /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/extlib/ib_util.h /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/yvalve/perf.h /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen/iberror.h /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/ibase.h /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/ mkdir -p /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/firebird/Message.h /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/Message.h mkdir -p /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/firebird/UdrCppEngine.h /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/UdrCppEngine.h mkdir -p /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/firebird/IdlFbInterfaces.h /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/IdlFbInterfaces.h mkdir -p /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/firebird/TimeZones.h /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/TimeZones.h mkdir -p /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/firebird/FirebirdInterface.idl /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/FirebirdInterface.idl mkdir -p /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/firebird/impl/dsc_pub.h /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/dsc_pub.h mkdir -p /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/firebird/impl/types_pub.h /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/types_pub.h mkdir -p /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/detail cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/firebird/impl/sqlda_pub.h /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/sqlda_pub.h mkdir -p /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/detail/dmc cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/firebird/impl/boost/preprocessor/detail/auto_rec.hpp /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/detail/auto_rec.hpp mkdir -p /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/arithmetic cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/firebird/impl/boost/preprocessor/detail/dmc/auto_rec.hpp /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/detail/dmc/auto_rec.hpp mkdir -p /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/arithmetic cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/firebird/impl/boost/preprocessor/arithmetic/inc.hpp /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/arithmetic/inc.hpp mkdir -p /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/seq cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/firebird/impl/boost/preprocessor/arithmetic/dec.hpp /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/arithmetic/dec.hpp mkdir -p /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/seq cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/firebird/impl/boost/preprocessor/seq/for_each_i.hpp /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/seq/for_each_i.hpp mkdir -p /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/seq cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/firebird/impl/boost/preprocessor/seq/seq.hpp /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/seq/seq.hpp mkdir -p /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/seq cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/firebird/impl/boost/preprocessor/seq/size.hpp /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/seq/size.hpp mkdir -p /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/tuple cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/firebird/impl/boost/preprocessor/seq/elem.hpp /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/seq/elem.hpp mkdir -p /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/tuple cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/firebird/impl/boost/preprocessor/tuple/eat.hpp /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/tuple/eat.hpp mkdir -p /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/tuple cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/firebird/impl/boost/preprocessor/tuple/rem.hpp /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/tuple/rem.hpp mkdir -p /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/config cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/firebird/impl/boost/preprocessor/tuple/elem.hpp /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/tuple/elem.hpp mkdir -p /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/repetition/detail/msvc cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/firebird/impl/boost/preprocessor/config/config.hpp /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/config/config.hpp mkdir -p /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/repetition/detail/edg cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/firebird/impl/boost/preprocessor/repetition/detail/msvc/for.hpp /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/repetition/detail/msvc/for.hpp mkdir -p /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/repetition/detail/dmc cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/firebird/impl/boost/preprocessor/repetition/detail/edg/for.hpp /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/repetition/detail/edg/for.hpp mkdir -p /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/repetition/detail cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/firebird/impl/boost/preprocessor/repetition/detail/dmc/for.hpp /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/repetition/detail/dmc/for.hpp mkdir -p /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/repetition cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/firebird/impl/boost/preprocessor/repetition/detail/for.hpp /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/repetition/detail/for.hpp mkdir -p /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/logical cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/firebird/impl/boost/preprocessor/repetition/for.hpp /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/repetition/for.hpp mkdir -p /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/debug cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/firebird/impl/boost/preprocessor/logical/bool.hpp /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/logical/bool.hpp mkdir -p /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/firebird/impl/boost/preprocessor/debug/error.hpp /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/debug/error.hpp mkdir -p /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/facilities cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/firebird/impl/boost/preprocessor/cat.hpp /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/cat.hpp mkdir -p /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/control cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/firebird/impl/boost/preprocessor/facilities/empty.hpp /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/facilities/empty.hpp mkdir -p /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/control cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/firebird/impl/boost/preprocessor/control/expr_iif.hpp /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/control/expr_iif.hpp mkdir -p /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/control cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/firebird/impl/boost/preprocessor/control/expr_if.hpp /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/control/expr_if.hpp mkdir -p /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/control cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/firebird/impl/boost/preprocessor/control/if.hpp /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/control/if.hpp mkdir -p /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/firebird/impl/boost/preprocessor/control/iif.hpp /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/boost/preprocessor/control/iif.hpp mkdir -p /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/firebird/impl/inf_pub.h /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/inf_pub.h mkdir -p /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/firebird/impl/consts_pub.h /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/consts_pub.h mkdir -p /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/firebird/impl/blr.h /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/impl/blr.h cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/firebird/Interface.h /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include/firebird/Interface.h make -f Makefile.examples -C /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/examples/ make[4]: Entering directory '/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/examples' cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/examples/empbuild/empbuild.e /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/examples/empbuild.e cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/examples/empbuild/empddl.sql /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/examples/empddl.sql cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/examples/empbuild/empbld.sql /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/examples/empbld.sql rm -f /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/examples/isql cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/examples/empbuild/empdml.sql /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/examples/empdml.sql ln -s /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/isql /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/examples/isql cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/examples/empbuild/indexoff.sql /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/examples/indexoff.sql cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/examples/empbuild/indexon.sql /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/examples/indexon.sql cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/examples/empbuild/job.inp /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/examples/job.inp cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/examples/empbuild/lang.inp /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/examples/lang.inp cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/examples/empbuild/proj.inp /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/examples/proj.inp cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/examples/empbuild/qtr.inp /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/examples/qtr.inp cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/examples/*.* /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/examples/ cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/examples/api/*.* /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/examples/api/ cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/examples/dbcrypt/*.* /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/examples/dbcrypt/ tar cf - -C /builddir/build/BUILD/Firebird-4.0.3.2975-0/examples/extauth . | tar xf - -C /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/examples/extauth/ cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/examples/include/*.* /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/examples/include/ cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/examples/interfaces/*.* /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/examples/interfaces/ cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/examples/package/*.* /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/examples/package/ cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/examples/stat/*.* /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/examples/stat/ cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/examples/udf/*.* /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/examples/udf/ rm -f /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/examples/empbuild.fdb cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/examples/udr/*.* /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/examples/udr/ cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/examples/object_pascal/*.* /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/examples/object_pascal/ cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/examples/object_pascal/[mM]ake* /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/examples/object_pascal/ /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/examples/isql -i empbld.sql cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/examples/object_pascal/common/*.* /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/examples/object_pascal/common/ can't format message 17:3 -- message file /var/lib/firebird/system/firebird.msg not found cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/examples/readme /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/examples/README cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/examples/empbuild/employe2.sql /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/examples/empbuild/ make -C /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/examples/extauth OUT=/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/examples/prebuilt INTERMED=/builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/examples/extauth make[5]: Entering directory '/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/examples/extauth' g++ -std=c++17 -pthread -I../../include -fPIC -DLTC_PTHREAD -DUSE_LTM -DLTM_DESC -c keygen.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/examples/extauth/keygen.o g++ -std=c++17 -pthread -I../../include -fPIC -DLTC_PTHREAD -DUSE_LTM -DLTM_DESC -c TcWrapper.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/examples/extauth/TcWrapper.o g++ -std=c++17 -pthread -I../../include -fPIC -DLTC_PTHREAD -DUSE_LTM -DLTM_DESC -c ExtAuth.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/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-V4.0.3.2975 Firebird 4.0" on disk structure version 13.0 g++ -pthread -L../../lib -Wl,-rpath,'$ORIGIN/../lib' /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/examples/extauth/keygen.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/examples/extauth/TcWrapper.o -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/examples/prebuilt/bin/fbSampleExtAuthKeygen -lfbclient -ltomcrypt -ltommath g++ -shared -pthread -L../../lib -Wl,-rpath,'$ORIGIN/../lib' /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/examples/extauth/ExtAuth.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/examples/extauth/TcWrapper.o -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/examples/prebuilt/plugins/libfbSampleExtAuth.so -lfbclient -ltomcrypt -ltommath make[5]: Leaving directory '/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/examples/extauth' /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/gpre_current -m -z -n /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/examples/empbuild.e /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/examples/empbuild.c gpre version LI-V4.0.3.2975 Firebird 4.0 Version(s) for database "empbuild.fdb" Firebird/Linux/ARM64 (access method), version "LI-V4.0.3.2975 Firebird 4.0" on disk structure version 13.0 gcc -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -I/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/examples/empbuild.c -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/examples/empbuild.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/examples/empbuild.c:327:4: warning: 'isc_59l' defined but not used [-Wunused-const-variable=] 327 | isc_59l = 37; | ^~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/examples/empbuild.c:274:4: warning: 'isc_51l' defined but not used [-Wunused-const-variable=] 274 | isc_51l = 155; | ^~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/examples/empbuild.c:216:4: warning: 'isc_35l' defined but not used [-Wunused-const-variable=] 216 | isc_35l = 158; | ^~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/examples/empbuild.c:168:4: warning: 'isc_21l' defined but not used [-Wunused-const-variable=] 168 | isc_21l = 110; | ^~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/examples/empbuild.c:148:4: warning: 'isc_18l' defined but not used [-Wunused-const-variable=] 148 | isc_18l = 51; | ^~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/examples/empbuild.c:95:4: warning: 'isc_10l' defined but not used [-Wunused-const-variable=] 95 | isc_10l = 167; | ^~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/examples/empbuild.c:64:26: warning: 'gds__null' defined but not used [-Wunused-variable] 64 | static const ISC_STATUS *gds__null = 0; /* dummy status vector */ | ^~~~~~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -static-libstdc++ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath,/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib -Wl,-rpath,/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib/../intl -Wl,-rpath,@loader_path/../Release/firebird /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/examples/empbuild.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common.a -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/examples/empbuild -L/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib -L/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib -lfbclient -ltommath -ltomcrypt -latomic -lm -ldecFloat -lre2 rm -f /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/examples/employee.fdb ./empbuild /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/examples/employee.fdb creating database /builddir/build/BUILD/Firebird-4.0.3.2975-0/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 6 project descriptions. Loading quarter arrays Added 24 quarter arrays. /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/gfix -write sync /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/examples/employee.fdb chmod 666 /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/examples/employee.fdb rm -f /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/examples/empbuild/employee.fdb cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/examples/employee.fdb /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/examples/empbuild/employee.fdb make[4]: Leaving directory '/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/examples' make -f Makefile.plugins_examples make[4]: Entering directory '/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen' gcc -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/examples/udr/Functions.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/examples/udr/Functions.o gcc -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/examples/udr/Procedures.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/examples/udr/Procedures.o gcc -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/examples/udr/Triggers.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/examples/udr/Triggers.o gcc -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/examples/udr/Zones.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/examples/udr/Zones.o gcc -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/examples/dbcrypt/DbCrypt.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/examples/dbcrypt/DbCrypt.o gcc -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/examples/dbcrypt/CryptKeyHolder.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/examples/dbcrypt/CryptKeyHolder.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/examples/udr/Triggers.cpp: In constructor 'Trigreplicate_persons::Impl::Impl(Firebird::ThrowStatusWrapper*, Firebird::IExternalContext*, Firebird::IRoutineMetadata*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/examples/udr/Triggers.cpp:237:29: warning: unused variable 'table' [-Wunused-variable] 237 | const char* table = metadata->getTriggerTable(status); | ^~~~~ gcc -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/examples/dbcrypt/CryptApplication.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/examples/dbcrypt/CryptApplication.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/examples/dbcrypt/CryptApplication.cpp: In member function 'void App::execute(const char*, Action)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/examples/dbcrypt/CryptApplication.cpp:114:23: warning: enumeration value 'NONE' not handled in switch [-Wswitch] 114 | switch(a) | ^ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -static-libstdc++ -Wl,--version-script,fbplugin.vers -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -shared -Wl,-soname,libfbSampleDbCrypt.so.0 -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/plugins/libfbSampleDbCrypt.so /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/examples/dbcrypt/DbCrypt.o -L/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib -latomic -lm -ldecFloat -lre2 -L/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib -lfbclient -ltommath -ltomcrypt cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/examples/dbcrypt/fbSampleDbCrypt.conf /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/plugins g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -static-libstdc++ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/examples/dbcrypt/CryptApplication.o -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/fbSampleDbCryptApp -L/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib -lfbclient -ltommath -ltomcrypt g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -static-libstdc++ -Wl,--version-script,fbplugin.vers -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -shared -Wl,-soname,libfbSampleKeyHolder.so.0 -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/plugins/libfbSampleKeyHolder.so /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/examples/dbcrypt/CryptKeyHolder.o -L/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib -latomic -lm -ldecFloat -lre2 -L/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib -lfbclient -ltommath -ltomcrypt cp /builddir/build/BUILD/Firebird-4.0.3.2975-0/examples/dbcrypt/fbSampleKeyHolder.conf /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/plugins g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -static-libstdc++ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -shared -Wl,-soname,udrcpp_example.so \ -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/plugins/udr/libudrcpp_example.so /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/examples/udr/Functions.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/examples/udr/Procedures.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/examples/udr/Triggers.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/examples/udr/Zones.o \ -L/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib -lfbclient -ltommath -ltomcrypt make[4]: Leaving directory '/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen' make[3]: Leaving directory '/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen' make rest make[3]: Entering directory '/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen' g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/all.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/all.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/command.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/command.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/compile.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/dtr.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/dtr.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/err.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/err.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/eval.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/exe.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/exe.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/expand.o In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/dtr.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/all.cpp:38: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/dtr.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/command.cpp:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/dtr.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/dtr.cpp:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/dtr.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:26: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/all.cpp: In function 'void ALLQ_fini()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/all.cpp:209:69: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 209 | for (qli_hnk* hunks = pool->plb_hunks; hunk = hunks;) | ~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/all.cpp: In function 'void ALLQ_release(qli_frb*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/all.cpp:415:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 415 | for (ptr = &pool->plb_free; free = *ptr; prior = free, ptr = &free->frb_next) | ~~~~~^~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/all.cpp: In function 'void ALLQ_rlpool(qli_plb*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/all.cpp:473:53: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 473 | for (qli_hnk* hunks = pool->plb_hunks; hunk = hunks;) | ~~~~~^~~~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/dtr.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/err.cpp:30: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/dtr.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:28: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/dtr.cpp: In function 'int main(int, char**)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/dtr.cpp:123:15: warning: unused variable 'home_directory' [-Wunused-variable] 123 | SCHAR home_directory[MAXPATHLEN]; | ^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp: In function 'bool CMP_node_match(const qli_nod*, const qli_nod*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_nothing' not handled in switch [-Wswitch] 142 | switch (node1->nod_type) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_ready' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_finish' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_commit' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_rollback' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_prepare' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_start_trans' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_show' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_exit' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_quit' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_define' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_delete_proc' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_rename_proc' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_edit_proc' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_copy_proc' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_extract' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_set' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_help' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_shell' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_def_database' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_del_database' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_def_relation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_mod_relation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_del_relation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_def_field' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_mod_field' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_del_field' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_def_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_del_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_mod_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_for' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_restructure' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_print' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_list_fields' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_list' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_store' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_modify' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_erase' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_assign' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_report' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_report_loop' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_repeat' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_if' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_output' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_declare' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_variable' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_abort' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_commit_retaining' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_relation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_rse' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_print_item' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_star' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_column' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_tab' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_skip' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_space' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_new_page' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_report_header' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_column_header' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_eql' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_neq' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_gtr' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_geq' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_leq' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_lss' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_between' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_containing' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_matches' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_like' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_starts' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_missing' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_and' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_or' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_any' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_not' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_unique' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_reference' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_prompt' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_edit_blob' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_parameter' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_position' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_add' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_subtract' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_multiply' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_divide' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_negate' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_concatenate' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_substr' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_null' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_user_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_format' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_choice' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_average' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_max' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_min' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_total' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_rpt_average' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_rpt_max' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_rpt_min' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_rpt_total' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_rpt_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_running_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_running_total' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_from' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_via' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_upcase' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_lowcase' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_sleuth' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_join_inner' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_join_left' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_join_right' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_join_full' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_sql_database' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_sql_al_table' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_sql_cr_table' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_sql_cr_view' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_sql_grant' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:142:16: warning: enumeration value 'nod_sql_revoke' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp: In function 'qli_nod* compile_expression(qli_nod*, qli_req*, bool)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:519:27: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 519 | if (value = node->nod_arg[e_stt_value]) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:546:27: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 546 | if (value = node->nod_arg[e_stt_value]) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:649:35: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 649 | if (field = (qli_fld*) node->nod_arg[e_prm_field]) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:667:27: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 667 | if (value = node->nod_arg[e_fld_subs]) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp: In function 'qli_nod* compile_if(qli_nod*, qli_req*, bool)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:943:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 943 | if (sub = node->nod_arg[e_if_false]) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp: In function 'qli_nod* compile_report(qli_nod*, qli_req*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:1190:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1190 | if (control = report->rpt_top_rpt) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:1193:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1193 | if (control = report->rpt_top_page) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:1196:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1196 | if (control = report->rpt_top_breaks) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:1203:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1203 | if (control = report->rpt_bottom_breaks) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:1216:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1216 | if (control = report->rpt_bottom_page) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:1219:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1219 | if (control = report->rpt_bottom_rpt) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp: In function 'qli_req* compile_rse(qli_nod*, qli_req*, bool, qli_msg**, qli_msg**, qli_dbb**)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:1265:37: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1265 | if (request = compile_rse(context->ctx_stream, old_request, internal_flag, | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1266 | send, receive, database)) | ~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:1308:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1308 | if (list = node->nod_arg[e_rse_sort]) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:1314:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1314 | if (list = node->nod_arg[e_rse_reduced]) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:1320:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1320 | if (list = node->nod_arg[e_rse_group_by]) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp: In function 'bool computable(qli_nod*, qli_req*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:1608:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1608 | if (sub = node->nod_arg[e_fld_subs]) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/compile.cpp:1683:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1683 | if (sub = node->nod_arg[e_stt_value]) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/dtr.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/exe.cpp:30: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/format.o In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/dtr.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:26: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/gener.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/gener.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp: In function 'int EVAL_boolean(qli_nod*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_nothing' not handled in switch [-Wswitch] 98 | switch (node->nod_type) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_ready' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_finish' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_commit' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_rollback' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_prepare' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_start_trans' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_show' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/gpre_current -m -z -n /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/help.epp /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/help.cpp /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_exit' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_quit' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_define' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_delete_proc' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_rename_proc' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_edit_proc' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_copy_proc' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_extract' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_set' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_help' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_shell' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_def_database' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_del_database' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_def_relation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_mod_relation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_del_relation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_def_field' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_mod_field' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_del_field' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_def_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_del_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_mod_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_for' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_restructure' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_print' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_list_fields' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_list' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_store' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_modify' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_erase' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_assign' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_report' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_report_loop' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_repeat' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_if' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_output' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_declare' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_variable' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_abort' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_commit_retaining' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_relation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_rse' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_print_item' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_star' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_column' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_tab' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_skip' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_space' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_new_page' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_report_header' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_column_header' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_missing' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_any' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_unique' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_reference' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_field' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_prompt' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_edit_blob' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_parameter' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_constant' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_position' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_map' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_add' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_subtract' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_multiply' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_divide' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_negate' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_concatenate' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_substr' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_null' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_user_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_format' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_choice' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_function' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_average' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_max' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_min' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_total' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_agg_average' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_agg_max' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_agg_min' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_agg_total' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_agg_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_rpt_average' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_rpt_max' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_rpt_min' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_rpt_total' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_rpt_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_running_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_running_total' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_from' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_via' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_upcase' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_lowcase' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_join_inner' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_join_left' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_join_right' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_join_full' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_sql_database' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_sql_al_table' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_sql_cr_table' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_sql_cr_view' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_sql_grant' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:98:16: warning: enumeration value 'nod_sql_revoke' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp: In function 'void EVAL_break_increment(qli_nod*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_nothing' not handled in switch [-Wswitch] 271 | switch (node->nod_type) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_ready' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_finish' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_commit' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_rollback' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_prepare' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_start_trans' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_show' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_exit' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_quit' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_define' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_delete_proc' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_rename_proc' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_edit_proc' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_copy_proc' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_extract' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_set' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_help' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_shell' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_def_database' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_del_database' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_def_relation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_mod_relation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_del_relation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_def_field' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_mod_field' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_del_field' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_def_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_del_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_mod_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_for' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_restructure' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_print' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_list_fields' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_list' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_store' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_modify' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_erase' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_assign' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_report' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_report_loop' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_repeat' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_if' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_output' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_declare' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_variable' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_abort' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_commit_retaining' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_relation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_rse' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_print_item' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_star' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_column' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_tab' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_skip' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_space' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_new_page' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_report_header' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_column_header' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_eql' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_neq' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_gtr' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_geq' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_leq' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_lss' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_between' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_containing' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_matches' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_like' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_starts' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_missing' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_and' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_or' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_any' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_not' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_unique' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_reference' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_field' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_prompt' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_edit_blob' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_parameter' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_constant' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_position' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_map' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_add' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_subtract' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_multiply' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_divide' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_negate' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_concatenate' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_substr' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_null' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_user_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_format' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_choice' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_function' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_average' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_max' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_min' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_total' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_agg_average' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_agg_max' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_agg_min' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_agg_total' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_agg_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_rpt_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_running_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_running_total' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_from' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_via' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_upcase' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_lowcase' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_sleuth' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_join_inner' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_join_left' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_join_right' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_join_full' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_sql_database' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_sql_al_table' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_sql_cr_table' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_sql_cr_view' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_sql_grant' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:271:16: warning: enumeration value 'nod_sql_revoke' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp: In function 'dsc* EVAL_parameter(qli_par*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:334:31: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 334 | if (missing_parameter = parameter->par_missing) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp: In function 'SLONG execute_any(qli_nod*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:598:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 598 | else if (message = (qli_msg*) node->nod_arg[e_any_send]) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp: In function 'DSC* execute_function(qli_nod*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:711:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 711 | else if (message = (qli_msg*) node->nod_arg[e_fun_send]) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp: In function 'DSC* execute_statistical(qli_nod*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:820:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 820 | else if (message = (qli_msg*) node->nod_arg[e_stt_send]) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp: In function 'int sleuth_merge(const UCHAR*, const UCHAR*, const UCHAR*, UCHAR*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:1252:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1252 | while (c = *match++) | ~~^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ gpre version LI-V4.0.3.2975 Firebird 4.0 /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/exe.cpp: In function 'DSC* assignment(qli_nod*, DSC*, qli_nod*, qli_nod*, qli_par*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/exe.cpp:530:35: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 530 | if (*missing_flag = to_desc->dsc_missing = from_desc->dsc_missing) g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/hsh.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/hsh.o Version(s) for database "help.fdb" Firebird/Linux/ARM64 (access method), version "LI-V4.0.3.2975 Firebird 4.0" on disk structure version 13.0 g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/lex.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/lex.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp: In function 'qli_nod* EXP_expand(qli_syntax*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_nothing' not handled in switch [-Wswitch] 105 | switch (node->syn_type) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_start_trans' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_exit' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_quit' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_for' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_restructure' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_print' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_list_fields' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_list' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_store' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_modify' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_erase' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_assign' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_report' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_report_loop' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_repeat' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_if' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_output' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_variable' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_abort' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_commit_retaining' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_relation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_rse' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_print_item' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_star' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_column' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_tab' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_skip' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_space' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_new_page' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_report_header' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_column_header' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_eql' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_neq' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_gtr' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_geq' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_leq' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_lss' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_between' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_containing' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_matches' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_like' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_starts' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_missing' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_and' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_or' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_any' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_not' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_unique' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_reference' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_field' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_prompt' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_edit_blob' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_parameter' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_constant' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_position' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_map' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_add' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_subtract' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_multiply' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_divide' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_negate' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_concatenate' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_substr' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_null' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_user_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_format' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_choice' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_function' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_average' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_max' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_min' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_total' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_agg_average' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_agg_max' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_agg_min' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_agg_total' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_agg_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_rpt_average' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_rpt_max' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_rpt_min' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_rpt_total' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_rpt_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_running_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_running_total' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_from' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_via' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_upcase' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_lowcase' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_sleuth' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_join_inner' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_join_left' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_join_right' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_join_full' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:105:16: warning: enumeration value 'nod_sql_cr_view' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp: In function 'void declare_global(qli_fld*, qli_syntax*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:365:52: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 365 | for (qli_fld** ptr = &QLI_variables; field = *ptr; ptr = &field->fld_next) | ~~~~~~^~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:381:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 381 | if (q = variable->fld_edit_string) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:383:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 383 | if (q = variable->fld_query_header) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:398:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 398 | if (q = variable->fld_edit_string) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:401:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 401 | while (*p++ = *q++); | ~~~~~^~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:405:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 405 | if (q = variable->fld_query_header) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:408:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 408 | while (*p++ = *q++); | ~~~~~^~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp: In function 'void expand_control_break(qli_brk**, qli_lls*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:623:24: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 623 | while (control = *ptr) | ~~~~~~~~^~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp: In function 'qli_nod* expand_expression(qli_syntax*, qli_lls*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:849:27: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 849 | if (value = input->syn_arg[s_stt_rse]) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:851:27: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 851 | if (value = input->syn_arg[s_stt_value]) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:853:27: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 853 | if (value = input->syn_arg[s_stt_default]) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp: In function 'qli_nod* expand_modify(qli_syntax*, qli_lls*, qli_lls*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1267:27: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1267 | else if (syn_list = input->syn_arg[s_mod_list]) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp: In function 'qli_nod* expand_print(qli_syntax*, qli_lls*, qli_lls*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1422:33: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1422 | if (rse = context->ctx_rse) | ~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp: In function 'qli_print_item* expand_print_item(qli_syntax*, qli_lls*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_nothing' not handled in switch [-Wswitch] 1489 | switch (syn_item->syn_type) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_ready' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_finish' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_commit' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_rollback' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_prepare' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_start_trans' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_show' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_exit' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_quit' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_define' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_delete_proc' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_rename_proc' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_edit_proc' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_copy_proc' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_extract' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_set' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_help' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_shell' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_def_database' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_del_database' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_def_relation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_mod_relation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_del_relation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_def_field' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_mod_field' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_del_field' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_def_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_del_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_mod_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_for' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_restructure' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_print' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_list_fields' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_list' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_store' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_modify' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_erase' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_assign' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_report' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_report_loop' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_repeat' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_if' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_output' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_declare' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_variable' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_abort' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_commit_retaining' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_relation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_rse' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_star' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_eql' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_neq' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_gtr' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_geq' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_leq' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_lss' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_between' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_containing' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_matches' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_like' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_starts' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_missing' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_and' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_or' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_any' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_not' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_unique' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_reference' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_field' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_prompt' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_edit_blob' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_parameter' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_constant' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_position' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_map' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_add' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_subtract' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_multiply' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_divide' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_negate' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_concatenate' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_substr' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_null' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_user_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_format' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_choice' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_function' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_average' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_max' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_min' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_total' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_agg_average' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_agg_max' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_agg_min' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_agg_total' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_agg_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_rpt_average' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_rpt_max' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_rpt_min' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_rpt_total' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_rpt_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_running_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_running_total' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_from' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_via' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_upcase' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_lowcase' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_sleuth' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_join_inner' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_join_left' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_join_right' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_join_full' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_sql_database' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_sql_al_table' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_sql_cr_table' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_sql_cr_view' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_sql_grant' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1489:16: warning: enumeration value 'nod_sql_revoke' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp: In function 'qli_nod* expand_statement(qli_syntax*, qli_lls*, qli_lls*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2026:47: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2026 | else if (node = expand_statement(syn_node, right, left)) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp: In function 'bool invalid_nod_field(const qli_nod*, const qli_nod*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_nothing' not handled in switch [-Wswitch] 2469 | switch ((*ptr)->nod_type) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_ready' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_finish' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_commit' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_rollback' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_prepare' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_start_trans' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_show' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_exit' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_quit' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_define' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_delete_proc' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_rename_proc' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_edit_proc' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_copy_proc' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_extract' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_set' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_help' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_shell' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_def_database' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_del_database' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_def_relation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_mod_relation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_del_relation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_def_field' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_mod_field' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_del_field' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_def_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_del_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_mod_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_for' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_restructure' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_print' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_list_fields' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_list' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_store' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_modify' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_erase' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_assign' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_report' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_report_loop' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_repeat' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_if' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_output' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_declare' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_variable' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_abort' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_commit_retaining' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_relation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_rse' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_print_item' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_star' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_column' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_tab' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_skip' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_space' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_new_page' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_report_header' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_column_header' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_eql' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_neq' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_gtr' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_geq' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_leq' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_lss' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_between' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_containing' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_matches' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_like' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_starts' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_missing' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_and' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_or' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_any' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_not' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_unique' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_reference' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_prompt' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_edit_blob' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_parameter' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_constant' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_position' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_map' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_null' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_user_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_average' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_max' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_min' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_total' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_agg_average' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_agg_max' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_agg_min' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_agg_total' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_agg_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_rpt_average' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_rpt_max' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_rpt_min' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_rpt_total' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_rpt_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_running_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_running_total' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_from' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_via' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_sleuth' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_join_inner' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_join_left' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_join_right' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_join_full' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_sql_database' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_sql_al_table' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_sql_cr_table' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_sql_cr_view' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_sql_grant' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2469:32: warning: enumeration value 'nod_sql_revoke' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp: In function 'bool invalid_syn_field(const qli_syntax*, const qli_syntax*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_nothing' not handled in switch [-Wswitch] 2557 | switch ((*ptr)->syn_type) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_ready' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_finish' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_commit' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_rollback' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_prepare' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_start_trans' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_show' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_exit' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_quit' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_define' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_delete_proc' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_rename_proc' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_edit_proc' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_copy_proc' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_extract' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_set' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_help' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_shell' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_def_database' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_del_database' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_def_relation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_mod_relation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_del_relation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_def_field' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_mod_field' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_del_field' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_def_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_del_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_mod_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_for' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_restructure' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_print' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_list_fields' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_list' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_store' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_modify' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_erase' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_assign' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_report' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_report_loop' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_repeat' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_if' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_output' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_declare' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_variable' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_abort' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_commit_retaining' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_relation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_rse' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_print_item' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_star' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_column' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_tab' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_skip' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_space' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_new_page' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_report_header' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_column_header' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_eql' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_neq' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_gtr' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_geq' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_leq' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_lss' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_between' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_containing' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_matches' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_like' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_starts' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_missing' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_and' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_or' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_any' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_not' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_unique' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_reference' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_prompt' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_edit_blob' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_parameter' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_constant' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_position' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_map' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_null' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_user_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_average' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_max' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_min' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_total' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_agg_average' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_agg_max' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_agg_min' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_agg_total' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_agg_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_rpt_average' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_rpt_max' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_rpt_min' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_rpt_total' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_rpt_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_running_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_running_total' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_from' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_via' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_sleuth' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_join_inner' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_join_left' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_join_right' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_join_full' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_sql_database' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_sql_al_table' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_sql_cr_table' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_sql_cr_view' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_sql_grant' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2557:32: warning: enumeration value 'nod_sql_revoke' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp: In function 'qli_fld* resolve(qli_syntax*, qli_lls*, qli_ctx**)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2880:24: warning: enumeration value 'CTX_AGGREGATE' not handled in switch [-Wswitch] 2880 | switch (context->ctx_type) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2880:24: warning: enumeration value 'CTX_STREAM' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/gpre_current -m -z -n /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/meta.epp /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/dtr.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:27: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_rpt) == 20, "irt_rpt offset mismatch"); | ^ gpre version LI-V4.0.3.2975 Firebird 4.0 g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/mov.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/mov.o In function 'bool sleuth(qli_nod*, const dsc*, const dsc*, const dsc*)', inlined from 'bool string_boolean(qli_nod*)' at /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:1307:16: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:964:36: warning: 'desc3' may be used uninitialized [-Wmaybe-uninitialized] 964 | SSHORT l1 = MOVQ_get_string(desc3, &p1, &temp1, TEMP_STR_LENGTH); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp: In function 'bool string_boolean(qli_nod*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:1296:36: note: 'desc3' was declared here 1296 | const DSC *desc1, *desc2, *desc3; | ^~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/dtr.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/gener.cpp:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp: In function 'int EVAL_boolean(qli_nod*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:173:24: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 173 | return !result; | ^~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:96:13: note: 'result' was declared here 96 | int result; | ^~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:152:33: warning: 'value1' may be used uninitialized [-Wmaybe-uninitialized] 152 | if (MOVQ_compare(value1, value2) > 0) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/eval.cpp:95:14: note: 'value1' was declared here 95 | DSC *value1, *value2; | ^~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/nounix.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/nounix.o Version(s) for database "yachts.lnk" Firebird/Linux/ARM64 (access method), version "LI-V4.0.3.2975 Firebird 4.0" on disk structure version 13.0 Version(s) for database "yachts.lnk" Firebird/Linux/ARM64 (access method), version "LI-V4.0.3.2975 Firebird 4.0" on disk structure version 13.0 g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/parse.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/picstr.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/picstr.o In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp: In function 'TEXT* FMT_format(qli_lls*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:152:24: warning: enumeration value 'item_value' not handled in switch [-Wswitch] 152 | switch (item->itm_type) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:152:24: warning: enumeration value 'item_column_header' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:152:24: warning: enumeration value 'item_report_header' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:215:36: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 215 | else if (l = MIN(n, bottom - q)) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp: In function 'qli_nod* FMT_list(qli_nod*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:397:50: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 397 | while (c = *q++) | ~~^~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp: In function 'USHORT decompose_header(const SCHAR*, const SCHAR**, USHORT*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:750:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 750 | while (c = *string++) | ~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp: In function 'TEXT* format_report(qli_vec*, USHORT, USHORT*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:971:44: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 971 | else if (l = MIN(column_width, bottom - q)) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1043:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1043 | if (len = bottom - BOTTOM_LINE) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp: In function 'bool match_expr(const qli_nod*, const qli_nod*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_nothing' not handled in switch [-Wswitch] 1189 | switch (node1->nod_type) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_ready' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_finish' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_commit' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_rollback' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_prepare' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_start_trans' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_show' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_exit' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_quit' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_define' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_delete_proc' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_rename_proc' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_edit_proc' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_copy_proc' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_extract' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_set' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_help' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_shell' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_def_database' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_del_database' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_def_relation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_mod_relation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_del_relation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_def_field' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_mod_field' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_del_field' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_def_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_del_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_mod_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_for' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_restructure' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_print' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_list_fields' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_list' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_store' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_modify' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_erase' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_assign' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_report' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_report_loop' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_repeat' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_if' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_output' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_declare' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_variable' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_abort' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_commit_retaining' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_relation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_rse' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_print_item' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_star' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_column' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_tab' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_skip' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_space' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_new_page' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_report_header' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_column_header' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_eql' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_neq' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_gtr' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_geq' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_leq' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_lss' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_between' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_containing' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_matches' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_like' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_starts' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_missing' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_and' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_or' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_any' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_not' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_unique' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_reference' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_field' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_prompt' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_edit_blob' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_parameter' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_constant' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_position' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_map' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_add' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_subtract' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_multiply' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_divide' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_negate' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_concatenate' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_substr' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_null' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_user_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_format' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_choice' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_function' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_agg_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_rpt_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_running_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_from' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_via' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_upcase' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_lowcase' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_sleuth' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_join_inner' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_join_left' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_join_right' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_join_full' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_sql_database' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_sql_al_table' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_sql_cr_table' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_sql_cr_view' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_sql_grant' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1189:16: warning: enumeration value 'nod_sql_revoke' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_nothing' not handled in switch [-Wswitch] 1209 | switch (node2->nod_type) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_ready' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_finish' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_commit' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_rollback' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_prepare' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_start_trans' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_show' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_exit' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_quit' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_define' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_delete_proc' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_rename_proc' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_edit_proc' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_copy_proc' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_extract' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_set' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_help' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_shell' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_def_database' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_del_database' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_def_relation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_mod_relation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_del_relation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_def_field' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_mod_field' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_del_field' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_def_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_del_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_mod_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_for' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_restructure' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_print' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_list_fields' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_list' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_store' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_modify' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_erase' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_assign' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_report' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_report_loop' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_repeat' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_if' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_output' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_declare' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_variable' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_abort' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_commit_retaining' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_relation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_rse' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_print_item' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_star' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_column' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_tab' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_skip' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_space' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_new_page' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_report_header' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_column_header' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_eql' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_neq' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_gtr' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_geq' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_leq' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_lss' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_between' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_containing' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_matches' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_like' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_starts' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_missing' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_and' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_or' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_any' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_not' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_unique' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_reference' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_field' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_prompt' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_edit_blob' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_parameter' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_constant' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_position' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_map' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_add' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_subtract' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_multiply' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_divide' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_negate' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_concatenate' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_substr' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_null' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_user_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_format' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_choice' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_function' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_agg_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_rpt_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_running_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_from' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_via' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_upcase' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_lowcase' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_sleuth' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_join_inner' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_join_left' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_join_right' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_join_full' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_sql_database' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_sql_al_table' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_sql_cr_table' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_sql_cr_view' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_sql_grant' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1209:16: warning: enumeration value 'nod_sql_revoke' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp: In function 'int print_line(qli_print_item*, TEXT**)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1348:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1348 | if (!status && length && p[length - 1] == '\n') | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp: In function 'void report_line(qli_nod*, qli_vec**)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1495:24: warning: enumeration value 'item_value' not handled in switch [-Wswitch] 1495 | switch (item->itm_type) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1495:24: warning: enumeration value 'item_column' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1495:24: warning: enumeration value 'item_tab' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1495:24: warning: enumeration value 'item_space' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1495:24: warning: enumeration value 'item_column_header' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:1495:24: warning: enumeration value 'item_report_header' not handled in switch [-Wswitch] In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/dtr.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/hsh.cpp:25: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/dtr.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/lex.cpp:32: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/gener.cpp: In function 'void gen_function(qli_nod*, qli_req*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/gener.cpp:1184:30: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1184 | else if (new_request = (qli_req*) node->nod_arg[e_fun_request]) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp: In function 'qli_nod* expand_expression(qli_syntax*, qli_lls*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:897:32: warning: 'context' may be used uninitialized [-Wmaybe-uninitialized] 897 | return post_map(node, context); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:817:18: note: 'context' was declared here 817 | qli_ctx* context; | ^~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/gener.cpp: In function 'void gen_rse(qli_nod*, qli_req*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/gener.cpp:1572:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1572 | if (list = node->nod_arg[e_rse_group_by]) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/gener.cpp:1586:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1586 | if (list = node->nod_arg[e_rse_having]) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/gener.cpp:1591:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1591 | if (list = node->nod_arg[e_rse_sort]) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/gener.cpp:1616:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1616 | if (list = node->nod_arg[e_rse_first]) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/gener.cpp:1622:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1622 | if (list = node->nod_arg[e_rse_boolean]) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/gener.cpp:1628:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1628 | if (list = node->nod_arg[e_rse_sort]) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/gener.cpp:1631:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1631 | if (list = node->nod_arg[e_rse_reduced]) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/dtr.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/mov.cpp:27: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp: In function 'qli_nod* expand_field(qli_syntax*, qli_lls*, qli_syntax*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1026:22: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1026 | *--p = 0; | ~~~~~^~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/dtr.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:28: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1009:18: note: at offset -1 into destination object 's' of size 160 1009 | TEXT s[160]; | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1026:22: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1026 | *--p = 0; | ~~~~~^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1009:18: note: at offset -1 into destination object 's' of size 160 1009 | TEXT s[160]; | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp: In function 'qli_nod* expand_statement(qli_syntax*, qli_lls*, qli_lls*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2039:27: warning: 'routine' may be used uninitialized [-Wmaybe-uninitialized] 2039 | return (*routine) (input, right, left); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1936:20: note: 'routine' was declared here 1936 | qli_nod* (*routine) (qli_syntax*, qli_lls*, qli_lls*); | ^~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/lex.cpp: In function 'qli_tok* LEX_token()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/lex.cpp:808:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 808 | while (*p++ = *q++); | ~~~~~^~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/dtr.h:540: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/exe.h: In function 'void gen_expression(qli_nod*, qli_req*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/exe.h:42:42: warning: 'operatr' may be used uninitialized [-Wmaybe-uninitialized] 42 | #define STUFF(blr) *rlb->rlb_data++ = blr | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/gener.cpp:1797:16: note: 'operatr' was declared here 1797 | USHORT operatr; | ^~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp: In function 'qli_nod* FMT_list(qli_nod*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:424:64: warning: 'field' may be used uninitialized [-Wmaybe-uninitialized] 424 | value->nod_type == nod_field && field->fld_missing) | ~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/format.cpp:347:18: note: 'field' was declared here 347 | qli_fld* field; | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/mov.cpp: In function 'int MOVQ_compare(const dsc*, const dsc*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/mov.cpp:160:52: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 160 | if (length = arg2->dsc_length) | ~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/mov.cpp:165:52: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 165 | if (length = arg1->dsc_length - arg2->dsc_length) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/mov.cpp:172:44: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 172 | if (length = arg1->dsc_length) | ~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/mov.cpp: In function 'void numeric_to_text(const dsc*, dsc*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/mov.cpp:1308:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1308 | if (l = to->dsc_length - length) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In function 'int generate_items(const qli_syntax*, qli_lls*, qli_lls*, qli_nod*)', inlined from 'qli_nod* expand_print(qli_syntax*, qli_lls*, qli_lls*)' at /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:1373:28: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2333:40: warning: 'name' may be used uninitialized [-Wmaybe-uninitialized] 2333 | qli_ctx* context = find_context(name, right); | ~~~~~~~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp: In function 'qli_nod* expand_print(qli_syntax*, qli_lls*, qli_lls*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/expand.cpp:2326:25: note: 'name' was declared here 2326 | const qli_name* name; | ^~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/dtr.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/picstr.cpp:29: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp: In function 'qli_syntax* PARQ_parse()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_none' not handled in switch [-Wswitch] 219 | switch (next_keyword()) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_ABORT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_ACCEPT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_ACTIVE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_ADD' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_ALL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_AND' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_ANY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_ANYCASE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_AS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_ASCENDING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_ASTERISK' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_AT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_AVERAGE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_BAR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_BASED' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_BEGIN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_BETWEEN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_BIGINT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_BLOB' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_BLR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_BOTTOM' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_BY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_CHAR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_COLON' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_COLUMN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_COLUMNS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_COLUMN_HEADER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_COMMA' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_CONTAINING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_CONT_PROMPT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_COUNT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_CROSS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_DATABASE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_DATABASES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_DATE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_DECIMAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_DECLARE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_DESCENDING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_DISTINCT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_DOT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_DOUBLE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_DUPLICATE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_ECHO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_EDIT_STRING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_ELSE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_END' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_END_PROCEDURE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_END_REPORT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_EQ' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_EQUALS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_ERASE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_ESCAPE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_EXACTCASE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_EXISTS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_FIELD' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_FIELDS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_FILTER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_FILTERS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_FIRST' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_FIXED' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_FLOAT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_FOR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_FORMAT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_FROM' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_FULL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_FUNCTION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_FUNCTIONS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_GE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_GLOBAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_GROUP' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_GT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_HAVING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_IF' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_IN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_INACTIVE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_INDEX' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_INDICES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_INNER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_INSERT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_INTEGER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_INTO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_IS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_JOIN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_LE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_LEFT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_LEFT_PAREN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_LIKE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_LINES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_LIST' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_LONG' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_LT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_L_BRCKET' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_MATCHES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_MATCHING_LANGUAGE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_MAX' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_MIN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_MINUS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_MISSING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_MODIFY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_NAMES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_NE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_NEW_PAGE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_NO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_NOT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_NULL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_NUMERIC' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_OF' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_ON' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_OPTION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_OR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_ORDER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_OUTER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_OVER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_PAGE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_PAGESIZE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_PASSWORD' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_PLUS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_PRECISION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_PRINT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_PRIVILEGES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_PROCEDURE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_PROCEDURES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_PROMPT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_QUERY_HEADER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_QUERY_NAME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_REAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_REDUCED' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_RELATION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_RELATIONS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_REPEAT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_REPORT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_REPORT_HEADER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_REPORT_NAME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_RIGHT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_RIGHT_PAREN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_RUNNING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_R_BRCKET' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_SCALE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_SECURITY_CLASS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_SECURITY_CLASSES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_SELECT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_SEMI' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_SEMICOLON' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_SHORT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_SINGULAR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_SKIP' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_SLASH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_SMALLINT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_SORTED' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_SPACE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_STARTS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_STATISTICS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_STORE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_SUB_TYPE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_SYSTEM' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_TAB' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_TABLE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_TEXT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_THEN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_TO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_TOP' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_TOTAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_TRIGGERS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_UNIQUE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_UPDATE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_USER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_USER_NAME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_USING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_VALUES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_VARCHAR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_VARIABLE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_VARIABLES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_VARYING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_VERSION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_VIEW' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_VIEWS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_WITH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:219:16: warning: enumeration value 'KW_continuation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp: In function 'int parse_dtype(USHORT*, USHORT*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_none' not handled in switch [-Wswitch] 1386 | switch (keyword) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_ABORT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_ACCEPT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_ACTIVE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_ADD' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_ALL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_ALTER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_AND' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_ANY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_ANYCASE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_AS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_ASCENDING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_ASTERISK' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_AT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_AVERAGE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_BAR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_BASED' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_BEGIN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_BETWEEN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_BLR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_BOTTOM' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_BY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_COLON' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_COLUMN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_COLUMNS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_COLUMN_HEADER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_COMMA' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_COMMIT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_CONTAINING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_CONT_PROMPT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_COPY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_COUNT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_CREATE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_CROSS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_DATABASE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_DATABASES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_DECIMAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_DECLARE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_DEFINE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_DELETE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_DESCENDING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_DISTINCT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_DOT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_DROP' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_DUPLICATE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_ECHO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_EDIT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_EDIT_STRING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_ELSE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_END' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_END_PROCEDURE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_END_REPORT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_EQ' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_EQUALS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_ERASE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_ESCAPE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_EXACTCASE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_EXISTS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_EXIT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_EXTRACT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_FIELD' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_FIELDS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_FILTER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_FILTERS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_FINISH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_FIRST' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_FIXED' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_FOR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_FORMAT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_FROM' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_FULL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_FUNCTION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_FUNCTIONS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_GE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_GLOBAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_GRANT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_GROUP' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_GT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_HAVING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_HELP' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_IF' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_IN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_INACTIVE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_INDEX' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_INDICES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_INNER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_INSERT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_INTEGER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_INTO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_IS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_JOIN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_LE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_LEFT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_LEFT_PAREN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_LIKE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_LINES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_LIST' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_LT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_L_BRCKET' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_MATCHES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_MATCHING_LANGUAGE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_MAX' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_MIN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_MINUS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_MISSING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_MODIFY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_NAMES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_NE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_NEW_PAGE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_NO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_NOT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_NULL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_NUMERIC' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_OF' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_ON' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_OPTION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_OR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_ORDER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_OUTER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_OVER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_PAGE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_PAGESIZE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_PASSWORD' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_PLUS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_PRECISION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_PREPARE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_PRINT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_PRIVILEGES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_PROCEDURE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_PROCEDURES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_PROMPT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_QUERY_HEADER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_QUERY_NAME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_QUIT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_READY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_REAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_REDUCED' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_RELATION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_RELATIONS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_RENAME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_REPEAT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_REPORT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_REPORT_HEADER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_REPORT_NAME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_REVOKE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_RIGHT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_RIGHT_PAREN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_ROLLBACK' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_RUNNING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_R_BRCKET' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_SCALE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_SECURITY_CLASS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_SECURITY_CLASSES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_SELECT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_SEMI' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_SEMICOLON' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_SET' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_SHELL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_SHOW' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_SINGULAR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_SKIP' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_SLASH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_SMALLINT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_SORTED' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_SPACE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_STARTS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_STATISTICS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_STORE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_SUB_TYPE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_SYSTEM' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_TAB' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_TABLE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_TEXT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_THEN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_TO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_TOP' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_TOTAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_TRIGGERS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_UNIQUE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_UPDATE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_USER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_USER_NAME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_USING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_VALUES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_VARCHAR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_VARIABLE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_VARIABLES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_VERSION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_VIEW' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_VIEWS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_WITH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1386:16: warning: enumeration value 'KW_continuation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp: In function 'qli_syntax* parse_list_fields()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:2200:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2200 | if (node->syn_arg[s_prt_output] = parse_output()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp: In function 'qli_const* parse_literal()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:2267:51: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2267 | if (constant->con_desc.dsc_length = l) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp: In function 'qli_syntax* parse_primitive_value(USHORT*, bool*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:2796:79: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2796 | QLI_token->tok_type == tok_quoted && sql_flag && QLI_token->tok_string[0] == '"') | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp: In function 'qli_syntax* parse_print()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:2906:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2906 | if (node->syn_arg[s_prt_output] = parse_output()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp: In function 'qli_syntax* parse_ready(nod_t)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_nothing' not handled in switch [-Wswitch] 3123 | switch (node_type) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_finish' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_commit' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_rollback' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_prepare' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_start_trans' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_show' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_exit' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_quit' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_define' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_delete_proc' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_rename_proc' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_edit_proc' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_copy_proc' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_extract' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_set' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_help' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_shell' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_del_database' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_def_relation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_mod_relation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_del_relation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_def_field' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_mod_field' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_del_field' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_def_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_del_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_mod_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_for' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_restructure' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_print' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_list_fields' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_list' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_store' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_modify' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_erase' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_assign' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_report' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_report_loop' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_repeat' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_if' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_output' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_declare' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_variable' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_abort' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_commit_retaining' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/gpre_current -m -z -n /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/proc.epp /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/proc.cpp /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_relation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_rse' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_print_item' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_star' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_column' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_tab' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_skip' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_space' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_new_page' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_report_header' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_column_header' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_eql' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_neq' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_gtr' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_geq' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_leq' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_lss' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_between' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_containing' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_matches' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_like' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_starts' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_missing' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_and' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_or' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_any' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_not' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_unique' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_reference' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_field' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_prompt' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_edit_blob' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_parameter' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_constant' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_position' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_map' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_add' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_subtract' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_multiply' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_divide' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_negate' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_concatenate' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_substr' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_null' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_user_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_format' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_choice' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_function' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_average' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_max' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_min' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_total' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_agg_average' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_agg_max' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_agg_min' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_agg_total' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_agg_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_rpt_average' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_rpt_max' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_rpt_min' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_rpt_total' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_rpt_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_running_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_running_total' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_from' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_via' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_upcase' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_lowcase' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_sleuth' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_join_inner' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_join_left' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_join_right' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_join_full' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_sql_al_table' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_sql_cr_table' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_sql_cr_view' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_sql_grant' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3123:24: warning: enumeration value 'nod_sql_revoke' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp: In function 'qli_syntax* parse_report()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3576:68: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 3576 | if (tmpptr = tmpptr1) | ~~~~~~~^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp: In function 'qli_syntax* parse_show()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4038:35: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 4038 | if (value = (BLK) get_dbb(QLI_token->tok_symbol)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4064:51: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 4064 | if (value = (BLK) get_dbb(QLI_token->tok_symbol)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4088:51: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 4088 | if (value = (BLK) get_dbb(QLI_token->tok_symbol)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4085:28: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 4085 | if (PAR_match(KW_FOR)) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4109:51: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 4109 | if (value = (BLK) get_dbb(QLI_token->tok_symbol)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4164:32: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 4164 | else if (value = (BLK) get_dbb(symbol)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4248:43: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 4248 | if (value = (BLK) get_dbb(QLI_token->tok_symbol)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp: In function 'qli_syntax* parse_sort()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4328:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 4328 | if (sql_flag) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp: In function 'int parse_sql_dtype(USHORT*, USHORT*, USHORT*, USHORT*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_none' not handled in switch [-Wswitch] 4462 | switch (keyword) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_ABORT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_ACCEPT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_ACTIVE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_ADD' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_ALL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_ALTER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_AND' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_ANY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_ANYCASE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_AS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_ASCENDING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_ASTERISK' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_AT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_AVERAGE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_BAR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_BASED' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_BEGIN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_BETWEEN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_BLOB' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_BLR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_BOTTOM' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_BY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_COLON' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_COLUMN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_COLUMNS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_COLUMN_HEADER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_COMMA' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_COMMIT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_CONTAINING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_CONT_PROMPT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_COPY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_COUNT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_CREATE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_CROSS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_DATABASE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_DATABASES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_DECLARE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_DEFINE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_DELETE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_DESCENDING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_DISTINCT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_DOT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_DROP' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_DUPLICATE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_ECHO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_EDIT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_EDIT_STRING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_ELSE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_END' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_END_PROCEDURE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_END_REPORT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_EQ' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_EQUALS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_ERASE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_ESCAPE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_EXACTCASE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_EXISTS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_EXIT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_EXTRACT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_FIELD' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_FIELDS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_FILTER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_FILTERS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_FINISH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_FIRST' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_FIXED' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_FOR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_FORMAT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_FROM' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_FULL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_FUNCTION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_FUNCTIONS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_GE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_GLOBAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_GRANT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_GROUP' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_GT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_HAVING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_HELP' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_IF' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_IN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_INACTIVE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_INDEX' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_INDICES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_INNER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_INSERT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_INTO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_IS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_JOIN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_LE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_LEFT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_LEFT_PAREN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_LIKE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_LINES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_LIST' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_LT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_L_BRCKET' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_MATCHES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_MATCHING_LANGUAGE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_MAX' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_MIN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_MINUS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_MISSING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_MODIFY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_NAMES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_NE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_NEW_PAGE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_NO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_NOT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_NULL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_OF' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_ON' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_OPTION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_OR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_ORDER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_OUTER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_OVER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_PAGE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_PAGESIZE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_PASSWORD' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_PLUS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_PRECISION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_PREPARE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_PRINT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_PRIVILEGES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_PROCEDURE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_PROCEDURES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_PROMPT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_QUERY_HEADER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_QUERY_NAME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_QUIT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_READY' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_REDUCED' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_RELATION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_RELATIONS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_RENAME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_REPEAT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_REPORT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_REPORT_HEADER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_REPORT_NAME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_REVOKE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_RIGHT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_RIGHT_PAREN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_ROLLBACK' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_RUNNING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_R_BRCKET' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_SCALE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_SECURITY_CLASS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_SECURITY_CLASSES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_SELECT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_SEMI' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_SEMICOLON' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_SET' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_SHELL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_SHORT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_SHOW' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_SINGULAR' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_SKIP' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_SLASH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_SORTED' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_SPACE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_STARTS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_STATISTICS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_STORE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_SUB_TYPE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_SYSTEM' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_TAB' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_TABLE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_TEXT' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_THEN' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_TO' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_TOP' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_TOTAL' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_TRIGGERS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_UNIQUE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_UPDATE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_USER' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_USER_NAME' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_USING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_VALUES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_VARIABLE' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_VARIABLES' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_VARYING' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_VERSION' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_VIEW' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_VIEWS' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_WITH' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4462:16: warning: enumeration value 'KW_continuation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp: In function 'qli_fld* parse_sql_field()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4630:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 4630 | if (PAR_match(KW_NOT)) | ^ gpre version LI-V4.0.3.2975 Firebird 4.0 /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/mov.cpp: In function 'void string_to_date(const TEXT*, USHORT, SLONG*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/mov.cpp:1503:25: warning: 'precision' may be used uninitialized [-Wmaybe-uninitialized] 1503 | while (precision++ < 4) | ~~~~~~~~~^~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/mov.cpp:1358:19: note: 'precision' was declared here 1358 | USHORT n, precision; | ^~~~~~~~~ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/report.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/report.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/gpre_current -m -z -n /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/show.epp /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/show.cpp gpre version LI-V4.0.3.2975 Firebird 4.0 In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/gpre_current -m -z -n /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/msgs/build_file.epp /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/msgs/build_file.cpp In function 'void timestamp_to_text(const SLONG*, DSC*)', inlined from 'void MOVQ_move(const dsc*, dsc*)' at /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/mov.cpp:846:21: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/mov.cpp:1125:31: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 1125 | sprintf(time, " %2d:%.2d:%.2d.%.4" SLONGFORMAT, times.tm_hour, times.tm_min, In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/firebird.h:63, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/mov.cpp:24: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/common.h: In function 'void MOVQ_move(const dsc*, dsc*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/common.h:684:27: note: format string is defined here 684 | #define SLONGFORMAT "d" | ^ In file included from /usr/include/stdio.h:964, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/mov.cpp:25: In function 'int sprintf(char*, const char*, ...)', inlined from 'void timestamp_to_text(const SLONG*, DSC*)' at /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/mov.cpp:1125:10, inlined from 'void MOVQ_move(const dsc*, dsc*)' at /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/mov.cpp:846:21: /usr/include/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 15 and 43 bytes into a destination of size 15 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ Version(s) for database "yachts.lnk" Firebird/Linux/ARM64 (access method), version "LI-V4.0.3.2975 Firebird 4.0" on disk structure version 13.0 Version(s) for database "yachts.lnk" Firebird/Linux/ARM64 (access method), version "LI-V4.0.3.2975 Firebird 4.0" on disk structure version 13.0 In function 'void string_to_time(const TEXT*, USHORT, SLONG*)', inlined from 'void MOVQ_move(const dsc*, dsc*)' at /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/mov.cpp:774:19: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/mov.cpp:1618:25: warning: 'precision' may be used uninitialized [-Wmaybe-uninitialized] 1618 | while (precision++ < 4) | ~~~~~~~~~^~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/mov.cpp: In function 'void MOVQ_move(const dsc*, dsc*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/mov.cpp:1543:19: note: 'precision' was declared here 1543 | USHORT n, precision; | ^~~~~~~~~ In function 'void string_to_time(const TEXT*, USHORT, SLONG*)', inlined from 'void MOVQ_move(const dsc*, dsc*)' at /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/mov.cpp:774:19: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/mov.cpp:1597:31: warning: 'n' may be used uninitialized [-Wmaybe-uninitialized] 1597 | components[i] = n; | ~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/mov.cpp: In function 'void MOVQ_move(const dsc*, dsc*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/mov.cpp:1543:16: note: 'n' was declared here 1543 | USHORT n, precision; | ^ gpre version LI-V4.0.3.2975 Firebird 4.0 mkdir -p /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/tzdata /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp: In function 'qli_const* parse_literal()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:2277:16: warning: 'constant' may be used uninitialized [-Wmaybe-uninitialized] 2277 | return constant; | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:2253:20: note: 'constant' was declared here 2253 | qli_const* constant; | ^~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp: In function 'int parse_dtype(USHORT*, USHORT*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1428:9: warning: 'dtype' may be used uninitialized [-Wmaybe-uninitialized] 1428 | switch (dtype) | ^~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:1380:16: note: 'dtype' was declared here 1380 | USHORT dtype; | ^~~~~ unzip -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/icu/tzdata/le.zip -d /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/tzdata Archive: /builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/icu/tzdata/le.zip inflating: /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/tzdata/metaZones.res inflating: /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/tzdata/timezoneTypes.res inflating: /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/tzdata/windowsZones.res inflating: /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/tzdata/zoneinfo64.res inflating: /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/tzdata/ids.dat g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/help.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/help.o Version(s) for database "yachts.lnk" Firebird/Linux/ARM64 (access method), version "LI-V4.0.3.2975 Firebird 4.0" on disk structure version 13.0 Version(s) for database "msg.fdb" Firebird/Linux/ARM64 (access method), version "LI-V4.0.3.2975 Firebird 4.0" on disk structure version 13.0 g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.o In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/dtr.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/report.cpp:26: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../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_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/proc.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/proc.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/show.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/show.o g++ -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/gen -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include -I/builddir/build/BUILD/Firebird-4.0.3.2975-0/extern/re2 -O3 -DLINUX -DARM64 -pipe -p -MMD -fPIC -fsigned-char -fmessage-length=0 -fno-rtti -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -c /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/msgs/build_file.cpp -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/msgs/build_file.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/picstr.cpp: In function 'void edit_numeric(const dsc*, pics*, TEXT**)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/picstr.cpp:1084:40: warning: 'float_char' may be used uninitialized [-Wmaybe-uninitialized] 1084 | *out++ = float_char; | ~~~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/picstr.cpp:974:14: note: 'float_char' was declared here 974 | TEXT float_char; | ^~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/../qli/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/report.cpp: In function 'void RPT_report(qli_nod*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/report.cpp:86:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 86 | else if (message = (qli_msg*) loop->nod_arg[e_for_send]) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/report.cpp:109:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 109 | if (control = report->rpt_top_rpt) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/report.cpp:159:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 159 | if (node = report->rpt_detail_line) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/report.cpp:176:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 176 | if (control = report->rpt_bottom_page) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/report.cpp: In function 'void top_of_page(qli_prt*, bool)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/report.cpp:340:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 340 | if (control = report->rpt_bottom_page) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/report.cpp:347:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 347 | if (control = report->rpt_top_page) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In function 'qli_syntax* parse_report()', inlined from 'qli_syntax* parse_statement()' at /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:5228:22: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3531:53: warning: 'top' may be used uninitialized [-Wmaybe-uninitialized] 3531 | qli_brk** ptr = top ? &report->rpt_top_rpt : &report->rpt_bottom_rpt; | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp: In function 'qli_syntax* parse_statement()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3504:14: note: 'top' was declared here 3504 | bool top; | ^~~ In function 'qli_syntax* parse_modify_relation()', inlined from 'qli_syntax* parse_modify()' at /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:2370:31, inlined from 'qli_syntax* parse_statement()' at /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:5216:22: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:2499:34: warning: 'field' may be used uninitialized [-Wmaybe-uninitialized] 2499 | node->syn_arg[1] = (qli_syntax*) field; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp: In function 'qli_syntax* parse_statement()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:2475:26: note: 'field' was declared here 2475 | qli_fld* field; | ^~~~~ In function 'qli_syntax* parse_insert()', inlined from 'qli_syntax* parse_statement()' at /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:5208:22: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:2127:9: warning: 'select_flag' may be used uninitialized [-Wmaybe-uninitialized] 2127 | if (select_flag) | ^~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp: In function 'qli_syntax* parse_statement()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:2098:14: note: 'select_flag' was declared here 2098 | bool select_flag; | ^~~~~~~~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/dtr.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/help.cpp:37: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/msgs/build_file.cpp: In function 'int main(int, char**)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/msgs/build_file.cpp:536:32: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 21 equals destination size [-Wstringop-truncation] 536 | strncpy(this_locale, locale, sizeof(this_locale)); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/dtr.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:34: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../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_rpt) == 20, "irt_rpt offset mismatch"); | ^ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -static-libstdc++ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,--version-script,empty.vers /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/msgs/build_file.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common.a -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/build_file -L/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib -lfbclient -ltommath -ltomcrypt -latomic -lm -ldecFloat -lre2 /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp: In function 'qli_syntax* PARQ_parse()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4008:29: warning: 'sw' may be used uninitialized [-Wmaybe-uninitialized] 4008 | enum show_t sw; | ^~ In function 'qli_syntax* parse_set()', inlined from 'qli_syntax* PARQ_parse()' at /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:289:19: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3941:34: warning: 'sw' may be used uninitialized [-Wmaybe-uninitialized] 3941 | ALLQ_push((blk*) sw, &stack); | ^~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp: In function 'qli_syntax* PARQ_parse()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:3831:28: note: 'sw' was declared here 3831 | enum set_t sw; | ^~ In function 'qli_syntax* parse_sql_alter()', inlined from 'qli_syntax* PARQ_parse()' at /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:259:25: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4380:34: warning: 'field' may be used uninitialized [-Wmaybe-uninitialized] 4380 | node->syn_arg[1] = (qli_syntax*) field; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp: In function 'qli_syntax* PARQ_parse()': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/qli/parse.cpp:4365:22: note: 'field' was declared here 4365 | qli_fld* field; | ^~~~~ In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/dtr.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/proc.cpp:37: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../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_rpt) == 20, "irt_rpt offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/build_file -d msg.fdb -f /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/firebird.msg In file included from /usr/include/time.h:29, from /usr/include/pthread.h:23, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_pthread.h:35, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/locks.h:42, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../common/classes/alloc.h:47, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../jrd/../common/classes/fb_string.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../jrd/ods.h:37, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/dsc.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/dtr.h:27, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/show.cpp:34: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../jrd/ods.h:381:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 381 | static_assert(offsetof(struct irt_repeat, irt_root) == 0, "irt_root offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../jrd/ods.h:382:32: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page::irt_repeat' is conditionally-supported [-Winvalid-offsetof] 382 | static_assert(offsetof(struct irt_repeat, irt_transaction) == 4, "irt_transaction offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../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_desc) == 8, "irt_desc offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../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_keys) == 10, "irt_keys offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../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_flags) == 11, "irt_flags offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../jrd/ods.h:389:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 389 | static_assert(offsetof(struct index_root_page, irt_header) == 0, "irt_header offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../jrd/ods.h:390:24: warning: 'offsetof' within non-standard-layout type 'Ods::index_root_page' is conditionally-supported [-Winvalid-offsetof] 390 | static_assert(offsetof(struct index_root_page, irt_relation) == 16, "irt_relation offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../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_count) == 18, "irt_count offset mismatch"); | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../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_rpt) == 20, "irt_rpt offset mismatch"); | ^ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ chmod 666 /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/firebird.msg In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp: In function 'void MET_finish(qli_dbb*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:3408:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 3408 | while (relation = dbb->dbb_relations) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:3416:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 3416 | while (function = dbb->dbb_functions) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp: In function 'FB_API_HANDLE MET_transaction(nod_t, qli_dbb*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_nothing' not handled in switch [-Wswitch] 4482 | switch (node_type) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_ready' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_finish' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_show' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_exit' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_quit' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_define' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_delete_proc' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_rename_proc' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_edit_proc' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_copy_proc' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_extract' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_set' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_help' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_shell' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_def_database' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_del_database' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_def_relation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_mod_relation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_del_relation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_def_field' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_mod_field' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_del_field' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_def_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_del_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_mod_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_for' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_restructure' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_print' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_list_fields' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_list' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_store' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_modify' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_erase' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_assign' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_report' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_report_loop' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_repeat' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_if' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_output' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_declare' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_variable' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_abort' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_commit_retaining' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_relation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_rse' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_print_item' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_star' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_column' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_tab' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_skip' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_space' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_new_page' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_report_header' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_column_header' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_eql' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_neq' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_gtr' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_geq' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_leq' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_lss' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_between' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_containing' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_matches' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_like' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_starts' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_missing' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_and' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_or' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_any' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_not' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_unique' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_reference' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_field' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_prompt' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_edit_blob' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_parameter' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_constant' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_position' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_map' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_add' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_subtract' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_multiply' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_divide' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_negate' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_concatenate' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_substr' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_null' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_user_name' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_format' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_choice' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_function' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_average' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_max' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_min' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_total' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_agg_average' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_agg_max' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_agg_min' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_agg_total' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_agg_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_rpt_average' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_rpt_max' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_rpt_min' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_rpt_total' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_rpt_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_running_count' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_running_total' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_from' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_via' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_upcase' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_lowcase' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_sleuth' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_index' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_join_inner' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_join_left' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_join_right' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_join_full' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_sql_database' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_sql_al_table' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_sql_cr_table' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_sql_cr_view' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_sql_grant' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:4482:16: warning: enumeration value 'nod_sql_revoke' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp: In function 'void execute_dynamic_ddl(qli_dbb*, qli_rlb*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:6053:20: warning: 'ISC_STATUS isc_ddl(ISC_STATUS*, isc_db_handle*, isc_tr_handle*, short int, const ISC_SCHAR*)' is deprecated [-Wdeprecated-declarations] 6053 | if (isc_ddl(gds_status, &database->dbb_handle, &database->dbb_meta_trans, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6054 | length, (const char*) rlb->rlb_base)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/firebird/Interface.h:32, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/fb_exception.h:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../jrd/../common/classes/fb_string.h:38: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/ibase.h:721:41: note: declared here 721 | ISC_STATUS FB_API_DEPRECATED ISC_EXPORT isc_ddl(ISC_STATUS*, | ^~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp: In function 'void install(qli_dbb*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:6346:47: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 6346 | if (relation->rel_system_flag = /*X.RDB$SYSTEM_FLAG*/ | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ 6347 | isc_22.isc_26) | ~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp: In function 'void purge_relation(qli_rel*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:6924:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 6924 | while (field = relation->rel_fields) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:6928:28: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 6928 | if (symbol = field->fld_query_name) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/help.cpp: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/help.cpp:74:4: warning: 'SQLCODE' defined but not used [-Wunused-variable] 74 | SQLCODE; /* SQL status code */ | ^~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/help.cpp:73:4: warning: 'isc_array_length' defined but not used [-Wunused-variable] 73 | isc_array_length, /* array return size */ | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/help.cpp:71:4: warning: 'isc_status2' defined but not used [-Wunused-variable] 71 | isc_status2 [20]; /* status vector */ | ^~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp: At global scope: /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:2126:14: warning: 'global_parm_buffer' defined but not used [-Wunused-variable] 2126 | static UCHAR global_parm_buffer[256]; | ^~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/proc.cpp: In function 'void PRO_copy_procedure(qli_dbb*, const TEXT*, qli_dbb*, const TEXT*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/proc.cpp:786:38: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 786 | if (old_blob = PRO_fetch_procedure(old_database, old_name)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/proc.cpp: In function 'void PRO_invoke(qli_dbb*, const TEXT*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/proc.cpp:1198:34: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1198 | if (blob = PRO_fetch_procedure(database, name)) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/proc.cpp: In function 'void create_qli_procedures(qli_dbb*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/proc.cpp:1814:20: warning: 'ISC_STATUS isc_ddl(ISC_STATUS*, isc_db_handle*, isc_tr_handle*, short int, const ISC_SCHAR*)' is deprecated [-Wdeprecated-declarations] 1814 | if (isc_ddl(gds_status, &DB, &gds_trans, sizeof(dyn_gdl1), | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1815 | reinterpret_cast(dyn_gdl1))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/proc.cpp:36: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/ibase.h:721:41: note: declared here 721 | ISC_STATUS FB_API_DEPRECATED ISC_EXPORT isc_ddl(ISC_STATUS*, | ^~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/proc.cpp:1822:20: warning: 'ISC_STATUS isc_ddl(ISC_STATUS*, isc_db_handle*, isc_tr_handle*, short int, const ISC_SCHAR*)' is deprecated [-Wdeprecated-declarations] 1822 | if (isc_ddl(gds_status, &DB, &gds_trans, sizeof(dyn_gdl2), | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1823 | reinterpret_cast(dyn_gdl2))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/ibase.h:721:41: note: declared here 721 | ISC_STATUS FB_API_DEPRECATED ISC_EXPORT isc_ddl(ISC_STATUS*, | ^~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/proc.cpp:1830:20: warning: 'ISC_STATUS isc_ddl(ISC_STATUS*, isc_db_handle*, isc_tr_handle*, short int, const ISC_SCHAR*)' is deprecated [-Wdeprecated-declarations] 1830 | if (isc_ddl(gds_status, &DB, &gds_trans, sizeof(dyn_gdl3), | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1831 | reinterpret_cast(dyn_gdl3))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/ibase.h:721:41: note: declared here 721 | ISC_STATUS FB_API_DEPRECATED ISC_EXPORT isc_ddl(ISC_STATUS*, | ^~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/proc.cpp:1838:20: warning: 'ISC_STATUS isc_ddl(ISC_STATUS*, isc_db_handle*, isc_tr_handle*, short int, const ISC_SCHAR*)' is deprecated [-Wdeprecated-declarations] 1838 | if (isc_ddl(gds_status, &DB, &gds_trans, sizeof(dyn_gdl4), | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1839 | reinterpret_cast(dyn_gdl4))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/ibase.h:721:41: note: declared here 721 | ISC_STATUS FB_API_DEPRECATED ISC_EXPORT isc_ddl(ISC_STATUS*, | ^~~~~~~ In file included from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../common/../../extern/ttmath/ttmath.h:60, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../common/Int128.h:346, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/dsc.h:35: /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../common/../../extern/ttmath/ttmathobjects.h: In member function 'ttmath::ErrorCode ttmath::Objects::GetValueAndParam(const std::string&, std::string&, int*) const': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../common/../../extern/ttmath/ttmathobjects.h:487:36: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 487 | value.empty(); | ~~~~~~~~~~~^~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../common/../../extern/ttmath/ttmathuint.h:49, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../common/../../extern/ttmath/ttmathint.h:48, from /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/../common/../common/../../extern/ttmath/ttmath.h:59: /usr/include/c++/12/bits/basic_string.h:1191:7: note: declared here 1191 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/show.cpp: In function 'void show_rels(qli_dbb*, show_t, SSHORT)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/show.cpp:5008:16: warning: enumeration value 'show_all' not handled in switch [-Wswitch] 5008 | switch (sw) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/show.cpp:5008:16: warning: enumeration value 'show_relation' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/show.cpp:5008:16: warning: enumeration value 'show_database' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/show.cpp:5008:16: warning: enumeration value 'show_databases' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/show.cpp:5008:16: warning: enumeration value 'show_procedure' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/show.cpp:5008:16: warning: enumeration value 'show_procedures' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/show.cpp:5008:16: warning: enumeration value 'show_version' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/show.cpp:5008:16: warning: enumeration value 'show_variable' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/show.cpp:5008:16: warning: enumeration value 'show_variables' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/show.cpp:5008:16: warning: enumeration value 'show_indices' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/show.cpp:5008:16: warning: enumeration value 'show_field' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/show.cpp:5008:16: warning: enumeration value 'show_filter' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/show.cpp:5008:16: warning: enumeration value 'show_filters' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/show.cpp:5008:16: warning: enumeration value 'show_global_field' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/show.cpp:5008:16: warning: enumeration value 'show_global_fields' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/show.cpp:5008:16: warning: enumeration value 'show_trigger' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/show.cpp:5008:16: warning: enumeration value 'show_triggers' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/show.cpp:5008:16: warning: enumeration value 'show_security_class' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/show.cpp:5008:16: warning: enumeration value 'show_security_classes' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/show.cpp:5008:16: warning: enumeration value 'show_function' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/show.cpp:5008:16: warning: enumeration value 'show_functions' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/show.cpp:5008:16: warning: enumeration value 'show_views' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/show.cpp:5008:16: warning: enumeration value 'show_system_triggers' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/show.cpp:5008:16: warning: enumeration value 'show_matching_language' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/show.cpp:5008:16: warning: enumeration value 'show_db_indices' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/show.cpp:5008:16: warning: enumeration value 'show_db_fields' not handled in switch [-Wswitch] /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/proc.cpp: In function 'FB_API_HANDLE PRO_open_blob(qli_dbb*, ISC_QUAD&)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/proc.cpp:1231:27: warning: 'bpb' may be used uninitialized [-Wmaybe-uninitialized] 1231 | if (isc_open_blob2(status_vector, &database->dbb_handle, &database->dbb_proc_trans, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1232 | &blob, &blob_id, bpb_length, bpb)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/ibase.h:568:23: note: by argument 7 of type 'const ISC_UCHAR*' {aka 'const unsigned char*'} to 'ISC_STATUS isc_open_blob2(ISC_STATUS*, isc_db_handle*, isc_tr_handle*, isc_blob_handle*, ISC_QUAD*, ISC_USHORT, const ISC_UCHAR*)' declared here 568 | ISC_STATUS ISC_EXPORT isc_open_blob2(ISC_STATUS*, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/proc.cpp:1224:15: note: 'bpb' declared here 1224 | UCHAR bpb[20]; | ^~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/dtr.h: In function 'qli_syntax* parse_blr(UCHAR**, qli_symbol*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/src/include/../qli/dtr.h:37:44: warning: 'length' may be used uninitialized [-Wmaybe-uninitialized] 37 | #define ALLOCPV(type, repeat) ALLQ_alloc (QLI_permanent_pool, type, repeat) | ^ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:6584:30: note: 'length' was declared here 6584 | SSHORT dtype, scale, length, l, op; | ^~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:6795:46: warning: 'dtype' may be used uninitialized [-Wmaybe-uninitialized] 6795 | constant->con_desc.dsc_dtype = dtype; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:6584:16: note: 'dtype' was declared here 6584 | SSHORT dtype, scale, length, l, op; | ^~~~~ In function 'qli_syntax* make_node(nod_t, USHORT)', inlined from 'qli_syntax* parse_blr(UCHAR**, qli_symbol*)' at /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:6826:19: /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:6483:24: warning: 'operatr' may be used uninitialized [-Wmaybe-uninitialized] 6483 | node->syn_type = type; | ~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp: In function 'qli_syntax* parse_blr(UCHAR**, qli_symbol*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.cpp:6581:15: note: 'operatr' was declared here 6581 | nod_t operatr; | ^~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/proc.cpp: In function 'void PRO_copy_procedure(qli_dbb*, const TEXT*, qli_dbb*, const TEXT*)': /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/proc.cpp:793:13: warning: 'old_blob' may be used uninitialized [-Wmaybe-uninitialized] 793 | if (!old_blob) | ^~~~~~~~~ /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/proc.cpp:781:23: note: 'old_blob' declared here 781 | FB_API_HANDLE old_blob; | ^~~~~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fno-delete-null-pointer-checks -static-libstdc++ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,--version-script,empty.vers /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/all.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/command.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/compile.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/dtr.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/err.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/eval.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/exe.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/expand.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/format.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/gener.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/help.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/hsh.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/lex.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/meta.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/mov.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/nounix.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/parse.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/picstr.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/proc.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/report.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/qli/show.o /builddir/build/BUILD/Firebird-4.0.3.2975-0/temp/Release/common.a -o /builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/bin/qli -L/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen/Release/firebird/lib -lfbclient -ltommath -ltomcrypt -latomic -lm -ldecFloat -lre2 make[3]: Leaving directory '/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen' make[2]: Leaving directory '/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen' make[1]: Leaving directory '/builddir/build/BUILD/Firebird-4.0.3.2975-0/gen' + cd gen + sed -i '/linkFiles "/d' ./install/makeInstallImage.sh + ./install/makeInstallImage.sh egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E ./ ./udr/ ./udr/libudrcpp_example.so ./udr/libudf_compat.so ./udr/udf_compat.sql ./libfbtrace.so ./libudr_engine.so ./libSrp.so ./libLegacy_Auth.so ./libLegacy_UserManager.so ./libEngine13.so ./libChaCha.so ./udr_engine.conf + 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.NCslUY + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/firebird-4.0.3.2975-3.oc9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/firebird-4.0.3.2975-3.oc9.aarch64 ++ dirname /builddir/build/BUILDROOT/firebird-4.0.3.2975-3.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/firebird-4.0.3.2975-3.oc9.aarch64 + cd Firebird-4.0.3.2975-0 + 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-4.0.3.2975-3.oc9.aarch64/ + mkdir -p /builddir/build/BUILDROOT/firebird-4.0.3.2975-3.oc9.aarch64/usr/lib64/pkgconfig + cp -v gen/install/misc/fbclient.pc /builddir/build/BUILDROOT/firebird-4.0.3.2975-3.oc9.aarch64/usr/lib64/pkgconfig/ 'gen/install/misc/fbclient.pc' -> '/builddir/build/BUILDROOT/firebird-4.0.3.2975-3.oc9.aarch64/usr/lib64/pkgconfig/fbclient.pc' + cd /builddir/build/BUILDROOT/firebird-4.0.3.2975-3.oc9.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-4.0.3.2975-3.oc9.aarch64/usr/sbin/fb_config + rm -vf ./usr/include/perf.h removed './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.init.d.generic' removed './usr/share/firebird/misc/firebird.init.d.suse' removed './usr/share/firebird/misc/firebird.service' removed './usr/share/firebird/misc/firebird.init.d.mandrake' removed './usr/share/firebird/misc/firebird.init.d.debian' removed './usr/share/firebird/misc/firebird.init.d.gentoo' removed './usr/share/firebird/misc/firebird.init.d.slackware' removed directory './usr/share/firebird/misc/upgrade/udf' removed directory './usr/share/firebird/misc/upgrade' removed './usr/share/firebird/misc/rc.config.firebird' removed './usr/share/firebird/misc/intl.sql' 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' + 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/plugins/libfbSampleKeyHolder.so' removed './usr/share/doc/firebird/sample/prebuilt/plugins/libfbSampleDbCrypt.so' removed './usr/share/doc/firebird/sample/prebuilt/plugins/libfbSampleExtAuth.so' removed './usr/share/doc/firebird/sample/prebuilt/plugins/fbSampleKeyHolder.conf' removed './usr/share/doc/firebird/sample/prebuilt/plugins/fbSampleDbCrypt.conf' removed directory './usr/share/doc/firebird/sample/prebuilt/plugins' 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 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 -j8 --strict-build-id -m -i --build-id-seed 4.0.3.2975-3.oc9 --unique-debug-suffix -4.0.3.2975-3.oc9.aarch64 --unique-debug-src-base firebird-4.0.3.2975-3.oc9.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/Firebird-4.0.3.2975-0 extracting debug info from /builddir/build/BUILDROOT/firebird-4.0.3.2975-3.oc9.aarch64/usr/bin/fbsvcmgr extracting debug info from /builddir/build/BUILDROOT/firebird-4.0.3.2975-3.oc9.aarch64/usr/bin/gfix extracting debug info from /builddir/build/BUILDROOT/firebird-4.0.3.2975-3.oc9.aarch64/usr/bin/gstat-fb extracting debug info from /builddir/build/BUILDROOT/firebird-4.0.3.2975-3.oc9.aarch64/usr/bin/gbak extracting debug info from /builddir/build/BUILDROOT/firebird-4.0.3.2975-3.oc9.aarch64/usr/bin/fbtracemgr extracting debug info from /builddir/build/BUILDROOT/firebird-4.0.3.2975-3.oc9.aarch64/usr/bin/gsec extracting debug info from /builddir/build/BUILDROOT/firebird-4.0.3.2975-3.oc9.aarch64/usr/bin/gpre extracting debug info from /builddir/build/BUILDROOT/firebird-4.0.3.2975-3.oc9.aarch64/usr/bin/gsplit extracting debug info from /builddir/build/BUILDROOT/firebird-4.0.3.2975-3.oc9.aarch64/usr/bin/isql-fb extracting debug info from /builddir/build/BUILDROOT/firebird-4.0.3.2975-3.oc9.aarch64/usr/bin/nbackup extracting debug info from /builddir/build/BUILDROOT/firebird-4.0.3.2975-3.oc9.aarch64/usr/bin/qli extracting debug info from /builddir/build/BUILDROOT/firebird-4.0.3.2975-3.oc9.aarch64/usr/lib64/firebird/intl/fbintl extracting debug info from /builddir/build/BUILDROOT/firebird-4.0.3.2975-3.oc9.aarch64/usr/lib64/firebird/plugins/libChaCha.so extracting debug info from /builddir/build/BUILDROOT/firebird-4.0.3.2975-3.oc9.aarch64/usr/lib64/firebird/plugins/libEngine13.so extracting debug info from /builddir/build/BUILDROOT/firebird-4.0.3.2975-3.oc9.aarch64/usr/lib64/firebird/plugins/libLegacy_Auth.so extracting debug info from /builddir/build/BUILDROOT/firebird-4.0.3.2975-3.oc9.aarch64/usr/lib64/firebird/plugins/libLegacy_UserManager.so extracting debug info from /builddir/build/BUILDROOT/firebird-4.0.3.2975-3.oc9.aarch64/usr/lib64/firebird/plugins/libSrp.so extracting debug info from /builddir/build/BUILDROOT/firebird-4.0.3.2975-3.oc9.aarch64/usr/lib64/firebird/plugins/libfbtrace.so extracting debug info from /builddir/build/BUILDROOT/firebird-4.0.3.2975-3.oc9.aarch64/usr/lib64/firebird/plugins/libudr_engine.so extracting debug info from /builddir/build/BUILDROOT/firebird-4.0.3.2975-3.oc9.aarch64/usr/lib64/firebird/plugins/udr/libudf_compat.so extracting debug info from /builddir/build/BUILDROOT/firebird-4.0.3.2975-3.oc9.aarch64/usr/lib64/libfbclient.so.4.0.3 extracting debug info from /builddir/build/BUILDROOT/firebird-4.0.3.2975-3.oc9.aarch64/usr/lib64/firebird/plugins/udr/libudrcpp_example.so extracting debug info from /builddir/build/BUILDROOT/firebird-4.0.3.2975-3.oc9.aarch64/usr/lib64/libib_util.so extracting debug info from /builddir/build/BUILDROOT/firebird-4.0.3.2975-3.oc9.aarch64/usr/sbin/fb_lock_print extracting debug info from /builddir/build/BUILDROOT/firebird-4.0.3.2975-3.oc9.aarch64/usr/sbin/fbguard extracting debug info from /builddir/build/BUILDROOT/firebird-4.0.3.2975-3.oc9.aarch64/usr/sbin/firebird cpio: gen/cs_ksc5601.h: Cannot stat: No such file or directory 58143 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs mangling shebang in /usr/lib64/fb_config from /bin/sh to #!/usr/bin/sh + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: firebird-4.0.3.2975-3.oc9.aarch64 Provides: config(firebird) = 4.0.3.2975-3.oc9 firebird = 4.0.3.2975-3.oc9 firebird(aarch-64) = 4.0.3.2975-3.oc9 libChaCha.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) 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 /usr/sbin/groupadd /usr/sbin/useradd 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) 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) Conflicts: firebird-arch < 4.0 firebird-classic < 4.0 firebird-classic-common < 4.0 firebird-filesystem < 4.0 firebird-superclassic < 4.0 firebird-superserver < 4.0 Recommends: logrotate Processing files: firebird-devel-4.0.3.2975-3.oc9.aarch64 Provides: firebird-devel = 4.0.3.2975-3.oc9 firebird-devel(aarch-64) = 4.0.3.2975-3.oc9 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-4.0.3.2975-3.oc9.aarch64 Provides: libib-util = 4.0.3.2975-3.oc9 libib-util(aarch-64) = 4.0.3.2975-3.oc9 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) rtld(GNU_HASH) Processing files: libfbclient2-4.0.3.2975-3.oc9.aarch64 Provides: libfbclient.so.2()(64bit) libfbclient2 = 4.0.3.2975-3.oc9 libfbclient2(aarch-64) = 4.0.3.2975-3.oc9 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) 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) Conflicts: firebird-libfbclient < 4.0 Processing files: libfbclient2-devel-4.0.3.2975-3.oc9.aarch64 Provides: libfbclient2-devel = 4.0.3.2975-3.oc9 libfbclient2-devel(aarch-64) = 4.0.3.2975-3.oc9 pkgconfig(fbclient) = 4.0.3 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-4.0.3.2975-3.oc9.noarch Provides: firebird-doc = 4.0.3.2975-3.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: firebird-utils-4.0.3.2975-3.oc9.aarch64 Provides: firebird-utils = 4.0.3.2975-3.oc9 firebird-utils(aarch-64) = 4.0.3.2975-3.oc9 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) 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-4.0.3.2975-3.oc9.noarch Provides: firebird-examples = 4.0.3.2975-3.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: firebird-debugsource-4.0.3.2975-3.oc9.aarch64 Provides: firebird-debugsource = 4.0.3.2975-3.oc9 firebird-debugsource(aarch-64) = 4.0.3.2975-3.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: firebird-debuginfo-4.0.3.2975-3.oc9.aarch64 Provides: debuginfo(build-id) = 1ee538a32162a5422292aa0415bfa95cfef6d871 debuginfo(build-id) = 277fd5f0d5e5f14fd91f423c6011307375664b80 debuginfo(build-id) = 4a05e5bac12318702381e4c36df89b073482abc5 debuginfo(build-id) = 4a580cfccc2c9bc9174a7e18548aea62698d78c2 debuginfo(build-id) = 55bd2ecc59c18f8a0fa18d049c1ffa9643d1f3e6 debuginfo(build-id) = 5cab6056a77938b240a10001c87126cbebf77199 debuginfo(build-id) = 8ad1f4d8fa7dc7b02c5c72dc71492caacdbbe657 debuginfo(build-id) = 8e7069a65cb1bc8176f8248f2a90de33c98cbebb debuginfo(build-id) = a330736125bd062b6da9792dfbbfcf2138722521 debuginfo(build-id) = c08ed3e84231a460595503f76b730cb16bcba863 debuginfo(build-id) = c0cf1af763ecabc349b310ab1de416631f1247ad debuginfo(build-id) = c56358defa75c18d51ea79895dbc9cf789c9a362 debuginfo(build-id) = d11ffdf72f447ed5f8452412fb3d0944d06a5c5d debuginfo(build-id) = d1df99ba96b6e90f9fdafde8c1a2d60d09459dac firebird-debuginfo = 4.0.3.2975-3.oc9 firebird-debuginfo(aarch-64) = 4.0.3.2975-3.oc9 libChaCha.so-4.0.3.2975-3.oc9.aarch64.debug()(64bit) libEngine13.so-4.0.3.2975-3.oc9.aarch64.debug()(64bit) libLegacy_Auth.so-4.0.3.2975-3.oc9.aarch64.debug()(64bit) libLegacy_UserManager.so-4.0.3.2975-3.oc9.aarch64.debug()(64bit) libSrp.so-4.0.3.2975-3.oc9.aarch64.debug()(64bit) libfbtrace.so-4.0.3.2975-3.oc9.aarch64.debug()(64bit) libudf_compat.so-4.0.3.2975-3.oc9.aarch64.debug()(64bit) libudr_engine.so-4.0.3.2975-3.oc9.aarch64.debug()(64bit) libudrcpp_example.so-4.0.3.2975-3.oc9.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) = 4.0.3.2975-3.oc9 Processing files: libib-util-debuginfo-4.0.3.2975-3.oc9.aarch64 Provides: debuginfo(build-id) = 79a3083ad8a8f6d19779968f498ac7b3c9cea06e libib-util-debuginfo = 4.0.3.2975-3.oc9 libib-util-debuginfo(aarch-64) = 4.0.3.2975-3.oc9 libib_util.so-4.0.3.2975-3.oc9.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) = 4.0.3.2975-3.oc9 Processing files: libfbclient2-debuginfo-4.0.3.2975-3.oc9.aarch64 Provides: debuginfo(build-id) = c5854fa57bb042251451004714ccb2627852eac9 libfbclient.so.4.0.3-4.0.3.2975-3.oc9.aarch64.debug()(64bit) libfbclient2-debuginfo = 4.0.3.2975-3.oc9 libfbclient2-debuginfo(aarch-64) = 4.0.3.2975-3.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: firebird-debugsource(aarch-64) = 4.0.3.2975-3.oc9 Processing files: firebird-utils-debuginfo-4.0.3.2975-3.oc9.aarch64 Provides: debuginfo(build-id) = 453b054462948485d1a9797483a5ce3468c41920 debuginfo(build-id) = 832caaff8f71161207c8018dd1557a3b819618b9 debuginfo(build-id) = 91a0d72e9b93cbd87fa005cc0fa78ecdd23da025 debuginfo(build-id) = 989fdf36f5a63cbd277bc4b3999ab22942be2dbf debuginfo(build-id) = a7642a54ab5fc0a8732a193ec5225d2ee6ccf67d debuginfo(build-id) = bd94a4a5f78a6a7f1b9911396635b953e80b0048 debuginfo(build-id) = d0beb0f3d5522ecd8b338b30d6c4d1038b3c2180 debuginfo(build-id) = d3f9da2c20db07db25ffe299fd48f1175461a95a debuginfo(build-id) = e18e9d7b52eb2e319cb945a16d3a750e8d7b87c3 debuginfo(build-id) = f1c845d44c16dfec45fbcf2eb0412c8e4ade8477 firebird-utils-debuginfo = 4.0.3.2975-3.oc9 firebird-utils-debuginfo(aarch-64) = 4.0.3.2975-3.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: firebird-debugsource(aarch-64) = 4.0.3.2975-3.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/firebird-4.0.3.2975-3.oc9.aarch64 Wrote: /builddir/build/RPMS/firebird-examples-4.0.3.2975-3.oc9.noarch.rpm Wrote: /builddir/build/RPMS/firebird-devel-4.0.3.2975-3.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/firebird-doc-4.0.3.2975-3.oc9.noarch.rpm Wrote: /builddir/build/RPMS/libib-util-4.0.3.2975-3.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/libib-util-debuginfo-4.0.3.2975-3.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/libfbclient2-devel-4.0.3.2975-3.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/libfbclient2-4.0.3.2975-3.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/firebird-utils-4.0.3.2975-3.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/firebird-debugsource-4.0.3.2975-3.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/libfbclient2-debuginfo-4.0.3.2975-3.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/firebird-4.0.3.2975-3.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/firebird-utils-debuginfo-4.0.3.2975-3.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/firebird-debuginfo-4.0.3.2975-3.oc9.aarch64.rpm RPM build warnings: %patchN is deprecated (8 usages found), use %patch N (or %patch -P N) Child return code was: 0